PHIElimination may insert copy instructions in multiple basic
blocks. Moving debug locations across basic block boundaries would be
misleading as illustrated by the test case.
rdar://75463656
Paths
| Differential D100886
Make sure PHIElimination doesn't copy debug locations across basic blocks. ClosedPublic Authored by aprantl on Apr 20 2021, 1:35 PM.
Details Summary PHIElimination may insert copy instructions in multiple basic rdar://75463656
Diff Detail
Event Timeline
This revision is now accepted and ready to land.Apr 20 2021, 2:37 PM Closed by commit rG81cad0be687e: Make sure PHIElimination doesn't copy debug locations across basic blocks. (authored by aprantl). · Explain WhyApr 20 2021, 5:03 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 339058 llvm/lib/CodeGen/PHIElimination.cpp
llvm/test/CodeGen/AArch64/PHIElimination-debugloc.mir
|
Yes, I manually created this test by copy&pasting llvm/test/CodeGen/AArch64/PHIElimination-crash.mir and adding debug info to it.