Skip to content
Unverified Commit 71a8d2e3 authored by Hendrik Greving's avatar Hendrik Greving Committed by GitHub
Browse files

[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
parent 7b3bbd83
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment