[PATCH] D41116: [CodeGen] Print constant pool index operands as %const.0 + 8 in both MIR and debug output

Francis Visoiu Mistrih via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 12 08:24:05 PST 2017


thegameg created this revision.
thegameg added reviewers: MatzeB, qcolombet.
Herald added subscribers: JDevlieghere, javed.absar.

Work towards the unification of MIR and debug output by printing `%const.0 + 8` instead of `<cp#0+8>` and `%const.0 - 8` instead of `<cp#-8>`.

Only debug syntax is affected.


https://reviews.llvm.org/D41116

Files:
  docs/MIRLangRef.rst
  lib/CodeGen/MIRPrinter.cpp
  lib/CodeGen/MachineOperand.cpp
  test/CodeGen/ARM/subreg-remat.ll
  test/CodeGen/X86/2010-05-12-FastAllocKills.ll
  unittests/CodeGen/MachineOperandTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41116.126556.patch
Type: text/x-patch
Size: 7461 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171212/391af488/attachment.bin>


More information about the llvm-commits mailing list