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 |
||
---|---|---|
.. | ||
codemodel.ll | ||
comparisons_i32.ll | ||
comparisons_i64.ll | ||
constant_multiply.ll | ||
delay_filler.ll | ||
i32.ll | ||
lanai-misched-trivial-disjoint.ll | ||
lit.local.cfg | ||
lshift64.ll | ||
masking_setccs.ll | ||
mem_alu_combiner.ll | ||
multiply.ll | ||
peephole-compare.mir | ||
rshift64.ll | ||
select.ll | ||
set_and_hi.ll | ||
shift.ll | ||
stack-frame.ll | ||
sub-cmp-peephole.ll | ||
subword.ll |