Undef phi operands don't need to be live.
I found this while manually crafting .mir tests, I haven't seen it in practical cases yet. Anyway it's the right thing to do.
Paths
| Differential D40756
MachineVerifier: undef PHI args do not need to be alive ClosedPublic Authored by MatzeB on Dec 1 2017, 4:33 PM.
Details Summary Undef phi operands don't need to be live. I found this while manually crafting .mir tests, I haven't seen it in practical cases yet. Anyway it's the right thing to do.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Dec 4 2017, 10:00 AM Closed by commit rL319674: MachineVerifier: undef phi arg doesn't need to be live-out from predecessor (authored by matze). · Explain WhyDec 4 2017, 10:58 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 125376 llvm/trunk/lib/CodeGen/MachineVerifier.cpp
llvm/trunk/test/CodeGen/X86/verifier-phi-fail0.mir
llvm/trunk/test/CodeGen/X86/verifier-phi.mir
|