diff options
author | Hendrik Greving <hgreving@google.com> | 2023-10-09 04:49:11 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-09 04:49:11 -0700 |
commit | 71a8d2e3064fcb3ff76565e6e8529613f90aa51b (patch) | |
tree | 15ada0824aaac3b3675a66e474f641888267f883 /llvm/lib/CodeGen/ExpandVectorPredication.cpp | |
parent | 7b3bbd83c0c24087072ec5b22a76799ab31f87d5 (diff) | |
download | llvm-71a8d2e3064fcb3ff76565e6e8529613f90aa51b.zip llvm-71a8d2e3064fcb3ff76565e6e8529613f90aa51b.tar.gz llvm-71a8d2e3064fcb3ff76565e6e8529613f90aa51b.tar.bz2 |
[MachineLICM] Relax overlay conservative PHI check (#67186)
Skip LICM if PHI belongs to the current loop, e.g. is in the
loop's header. This prevents LICM from bailing for CFGs like
L1:
R = LoopInvariant // can be LICM'd
BR L1
L2:
PHI(R, ..)
BR L2
Diffstat (limited to 'llvm/lib/CodeGen/ExpandVectorPredication.cpp')
0 files changed, 0 insertions, 0 deletions