aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp
diff options
context:
space:
mode:
authorPeter Klausler <pklausler@nvidia.com>2022-06-16 11:41:09 -0700
committerPeter Klausler <pklausler@nvidia.com>2022-06-29 10:25:07 -0700
commitb70f507c75ac327eba895a970b507467a325f03b (patch)
treef1fed384ba82d241aa05339ae58c2e3020739066 /llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp
parenta9bef0707db101bb72d000a1f09686d97fb2d35d (diff)
downloadllvm-b70f507c75ac327eba895a970b507467a325f03b.zip
llvm-b70f507c75ac327eba895a970b507467a325f03b.tar.gz
llvm-b70f507c75ac327eba895a970b507467a325f03b.tar.bz2
[flang] Fix folding of LEN(f(...))
LEN(f(...)), where "f" is a non-intrinsic function, should not be folded to anything else unless the result is a known constant value. While there are conceivable cases in which we could do better (e.g., an internal function whose length is a host-associated INTENT(IN) dummy argument), there are other cases that we're getting wrong. Differential Revision: https://reviews.llvm.org/D128759
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp')
0 files changed, 0 insertions, 0 deletions