forked from OSchip/llvm-project
6c452834a1
This updates the MIRPrinter to include the regclass when printing virtual register defs, which is already valid syntax for the parser. That is, given 64 bit %0 and %1 in a "gpr" regbank, %1(s64) = COPY %0(s64) would now be written as %1:gpr(s64) = COPY %0(s64) While this change alone introduces a bit of redundancy with the registers block, it allows us to update the tests to be more concise and understandable and brings us closer to being able to remove the registers block completely. Note: We generally only print the class in defs, but there is one exception. If there are uses without any defs whatsoever, we'll print the class on all uses. I'm not completely convinced this comes up in meaningful machine IR, but for now the MIRParser and MachineVerifier both accept that kind of stuff, so we don't want to have a situation where we can print something we can't parse. llvm-svn: 316479 |
||
---|---|---|
.. | ||
expected-target-index-name.mir | ||
fold-imm-f16-f32.mir | ||
fold-multiple.mir | ||
intrinsics.mir | ||
invalid-target-index-operand.mir | ||
lit.local.cfg | ||
memory-legalizer-atomic-insert-end.mir | ||
memory-legalizer-multiple-mem-operands-atomics.mir | ||
memory-legalizer-multiple-mem-operands-nontemporal-1.mir | ||
memory-legalizer-multiple-mem-operands-nontemporal-2.mir | ||
stack-id.mir | ||
syncscopes.mir | ||
target-flags.mir | ||
target-index-operands.mir |