Fix all instances of:
- Bad machine code: Kill missing from LiveVariables ***
in the X86 CodeGen tests with D129213 applied, which adds verification
of LiveIntervals after the TwoAddressInstruction pass runs.
Paths
| Differential D129634
[X86] Fix updating LiveVariables in convertToThreeAddress ClosedPublic Authored by foad on Jul 13 2022, 5:22 AM.
Details Summary Fix all instances of:
in the X86 CodeGen tests with D129213 applied, which adds verification
Diff Detail
Event Timelinefoad added inline comments.
foad added a child revision: D129213: [MachineVerifier] Try harder to verify LiveVariables.Jul 13 2022, 5:26 AM This revision is now accepted and ready to land.Jul 18 2022, 9:58 AM
This revision was landed with ongoing or failed builds.Aug 1 2022, 5:52 AM Closed by commit rGa5a7a9da39c0: [X86] Fix updating LiveVariables in convertToThreeAddress (authored by foad). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 447642 llvm/lib/Target/X86/X86InstrInfo.cpp
|
I'm not proud of this patch because it adds duplicated code like this after almost every call to classifyLEAReg. There may be better ways to do this, by completely rethinking the way that convertToThreeAddress updates LiveVariables.
On the other hand LiveVariables is supposed to go away in favour of LiveIntervals, so does it really matter?