aboutsummaryrefslogtreecommitdiff
path: root/flang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorTom Eccles <tom.eccles@arm.com>2023-08-21 10:26:54 +0000
committerTom Eccles <tom.eccles@arm.com>2023-08-23 09:53:05 +0000
commit8d24b7322ee55eb780fc8115bfa8af07b6ee66b7 (patch)
treeb3d0e799ebfa2281620997c6b98909ba24266811 /flang/lib/Frontend/CompilerInvocation.cpp
parent762629b2c67a7dc3961b868528c3770a4fa8b068 (diff)
downloadllvm-8d24b7322ee55eb780fc8115bfa8af07b6ee66b7.zip
llvm-8d24b7322ee55eb780fc8115bfa8af07b6ee66b7.tar.gz
llvm-8d24b7322ee55eb780fc8115bfa8af07b6ee66b7.tar.bz2
[flang][LoopVersioning] support reboxed operands
Since https://reviews.llvm.org/D158119, many boxes lowered via HLFIR are reboxed with better lower bounds information after they are declared. For the loop versioning pass to support FIR lowered via HLFIR, it needs to dereference fir.rebox operations to figure out that the variable was a function argument. I decided to modify the existing dereferencing of fir.declare so that the declared/reboxed value is used in the versioned loop instead of the function argument. This makes it easier for the improved lower bounds information to be accessed. In doing this, I changed ArgInfo to store ArgInfo::arg by value instead of by pointer because mlir::Value has value-type semantics. Differential Revision: https://reviews.llvm.org/D158408
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions