This is a small patch that allows the PPC back end to print these registers in a more human-readable form the way the binutils tools print them.
I'm not sure if anyone uses this option much, but it's nice to have when debugging.
Paths
| Differential D31494
[PowerPC] Pretty-print CR bits the way the binutils disassembler does ClosedPublic Authored by nemanjai on Mar 30 2017, 4:49 AM.
Details Summary This is a small patch that allows the PPC back end to print these registers in a more human-readable form the way the binutils tools print them. I'm not sure if anyone uses this option much, but it's nice to have when debugging.
Diff Detail
Event TimelineComment Actions This seems like a good thing to do.
This revision now requires changes to proceed.Apr 11 2017, 1:46 PM nemanjai edited edge metadata. Comment ActionsUpdated to use the actual register encoding that comes from the MRI rather than converting the string representation.
nemanjai marked an inline comment as done. Comment ActionsRemoved the "show vsr nums as vr" implies "print full register names" semantics. This revision is now accepted and ready to land.Jun 29 2017, 12:26 AM Closed by commit rL309001: [PowerPC] Pretty-print CR bits the way the binutils disassembler does (authored by nemanjai). · Explain WhyJul 25 2017, 11:27 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 100578 lib/Target/PowerPC/InstPrinter/PPCInstPrinter.cpp
test/CodeGen/PowerPC/expand-contiguous-isel.ll
test/CodeGen/PowerPC/expand-isel.ll
|
This ShowVSRNumsAsVR seems broken ; should we just get rid of it?