Add missing control flow attributes:
- LOOP*: isBranch, isTerminator
- HLT: isTerminator
This helps downstream disassemblers (such as BOLT) reconstruct the control
flow graph more accurately.
Paths
| Differential D102297
[X86] Modify LOOP*, HLT control flow attributes ClosedPublic Authored by Amir on May 11 2021, 6:30 PM.
Details Summary Add missing control flow attributes:
This helps downstream disassemblers (such as BOLT) reconstruct the control
Diff Detail
Event TimelineComment Actions Why adding encoding information to TAILJMP? It's morphed in X86MCInstLower.cpp before it gets to the encoder. Comment Actions Needs an explanation of what this accomplishes. Needs some sort of test, or an explanation of why it can't be tested. Comment Actions Marking as Request Changes to get it off of my dashboard until the other comments get a response. This revision now requires changes to proceed.Jun 8 2021, 11:21 AM Amir retitled this revision from [X86] Modify LOOP*, HLT control flow attributes, add TAILJMP encoding to [X86] Modify LOOP*, HLT control flow attributes.Jun 24 2021, 1:33 PM Comment Actions @craig.topper: looks like there were no objections in a week. Can you please land this diff for me? (I don't have a commit access yet) Closed by commit rG884bc6a6ed95: [X86] Modify LOOP*, HLT control flow attributes (authored by Amir, committed by craig.topper). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 344627 llvm/lib/Target/X86/X86InstrControl.td
llvm/lib/Target/X86/X86InstrSystem.td
|