diff options
author | Florian Hahn <flo@fhahn.com> | 2022-05-26 09:46:23 +0100 |
---|---|---|
committer | Florian Hahn <flo@fhahn.com> | 2022-05-26 09:46:24 +0100 |
commit | f96aa493f0459d16a81e76c9d4f2915057cbcf7a (patch) | |
tree | a2c343edb8743de5ecd3d63525c7e17062aa2d19 /llvm/lib/FileCheck/FileCheck.cpp | |
parent | e45087fd53d5946f47efa7bb7be088c668c386a1 (diff) | |
download | llvm-f96aa493f0459d16a81e76c9d4f2915057cbcf7a.zip llvm-f96aa493f0459d16a81e76c9d4f2915057cbcf7a.tar.gz llvm-f96aa493f0459d16a81e76c9d4f2915057cbcf7a.tar.bz2 |
[SimpleLoopUnswitch] Always skip trivial select and set condition.
When updating the branch instruction outside the loopduring non-trivial
unswitching, always skip trivial selects and update the condition.
Otherwise we might create invalid IR, because the trivial select is
inside the loop, while the condition is outside the loop.
Fixes #55697.
Diffstat (limited to 'llvm/lib/FileCheck/FileCheck.cpp')
0 files changed, 0 insertions, 0 deletions