This is a pass for rewriting the names of vregs of MIR code.
I think it could be handy for authoring and reducing tests.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
llvm/lib/CodeGen/MIRNamerPass.cpp | ||
---|---|---|
9 ↗ | (On Diff #218835) | s/renames/rename/ Might want to explain what the use-cases for this are too. E.g. test development |
41 ↗ | (On Diff #218835) | I don't think these usually have a period at the end? |
58 ↗ | (On Diff #218835) | auto &MBB? |
llvm/test/CodeGen/MIR/AArch64/mirnamer.mir | ||
1 ↗ | (On Diff #218835) | -verify-machineinstrs? |
Comment Actions
Hi,
I did a minor change to the test case in r371171 since the
;CHECK: bb
checks matched on the line
;ModuleID = '/repo/bb/
in the output instead of the wanted "bb.0:".
I fixed it by reading input from stdin instead of from the file to make the change as small as possible, but perhaps the
;CHECK: bb
lines should be changed to
;CHECK-LABEL: bb.0:
etc instead.