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
- rG LLVM Github Monorepo
Event Timeline
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.
s/renames/rename/
Might want to explain what the use-cases for this are too. E.g. test development