diff options
author | David Green <david.green@arm.com> | 2024-01-20 22:16:05 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-20 22:16:05 +0000 |
commit | 49212d1601a1f0e34a8867eb1ad2e394f91cade1 (patch) | |
tree | f24bcf85e321fc0d96e5daccff6e7180ec59d400 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 46a9135d61f729da90b88d3d34a3905c91d194d7 (diff) | |
download | llvm-49212d1601a1f0e34a8867eb1ad2e394f91cade1.zip llvm-49212d1601a1f0e34a8867eb1ad2e394f91cade1.tar.gz llvm-49212d1601a1f0e34a8867eb1ad2e394f91cade1.tar.bz2 |
[Flang] Fix for replacing loop uses in LoopVersioning pass (#77899)
The added test case has a loop that is versioned, which has a use of the
loop in an if block after the loop. The current code replaces all uses
of the loop with the new version If, but only if the parent blocks
match. As far as I can see it should be safe to replace all the uses,
then construct the result for the If with op.op.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions