In case CSE reuses a previoulsy unused register the dead-def flag has to
be cleared on the def operand, as exposed by the arm64-cse.ll test.
This fixes PR22439 and the corresponding rdar://19694987
Paths
| Differential D7395
MachineCSE: Clear dead-def flag on CSE. ClosedPublic Authored by MatzeB on Feb 3 2015, 5:05 PM.
Details Summary In case CSE reuses a previoulsy unused register the dead-def flag has to This fixes PR22439 and the corresponding rdar://19694987
Diff Detail Event TimelineMatzeB updated this object. This revision is now accepted and ready to land.Feb 3 2015, 6:48 PM Closed by commit rL228178: MachineCSE: Clear dead-def flag on CSE. (authored by matze). · Explain WhyFeb 4 2015, 11:37 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 19290 include/llvm/CodeGen/MachineInstr.h
lib/CodeGen/MachineCSE.cpp
lib/CodeGen/MachineInstr.cpp
test/CodeGen/AArch64/arm64-cse.ll
|