llvm-project/llvm/test/CodeGen/BPF
Dan Gohman 7aa4abac24 Use TargetRegisterInfo for printing MachineOperand register comments
Several places in AsmPrinter.cpp print comments describing MachineOperand
registers using MCRegisterInfo, which uses MCOperand-oriented names. This
doesn't work for targets that use virtual registers exclusively, as
WebAssembly does, since virtual registers are represented and printed
differently.

This patch preserves what seems to be the spirit of r229978, avoiding the
use of TM.getSubtargetImpl(), while still using MachineOperand-oriented
printing for MachineOperands.

Differential Revision: http://reviews.llvm.org/D14709

llvm-svn: 253338
2015-11-17 16:01:28 +00:00
..
alu8.ll [bpf] rename triple names bpf_be -> bpfeb 2015-06-05 16:11:14 +00:00
atomics.ll [bpf] rename triple names bpf_be -> bpfeb 2015-06-05 16:11:14 +00:00
basictest.ll [bpf] rename triple names bpf_be -> bpfeb 2015-06-05 16:11:14 +00:00
byval.ll [opaque pointer type] Add textual IR support for explicit type parameter to getelementptr instruction 2015-02-27 19:29:02 +00:00
cc_args.ll [bpf] rename triple names bpf_be -> bpfeb 2015-06-05 16:11:14 +00:00
cc_args_be.ll [bpf] rename triple names bpf_be -> bpfeb 2015-06-05 16:11:14 +00:00
cc_ret.ll [bpf] rename triple names bpf_be -> bpfeb 2015-06-05 16:11:14 +00:00
cmp.ll
ex1.ll [bpf] rename triple names bpf_be -> bpfeb 2015-06-05 16:11:14 +00:00
fi_ri.ll [bpf] Avoid extra pointer arithmetic for stack access 2015-10-06 04:00:53 +00:00
intrinsics.ll [bpf] rename triple names bpf_be -> bpfeb 2015-06-05 16:11:14 +00:00
lit.local.cfg
load.ll [bpf] rename triple names bpf_be -> bpfeb 2015-06-05 16:11:14 +00:00
loops.ll [bpf] rename triple names bpf_be -> bpfeb 2015-06-05 16:11:14 +00:00
many_args1.ll
many_args2.ll
sanity.ll [bpf] rename triple names bpf_be -> bpfeb 2015-06-05 16:11:14 +00:00
setcc.ll [bpf] rename triple names bpf_be -> bpfeb 2015-06-05 16:11:14 +00:00
shifts.ll [bpf] rename triple names bpf_be -> bpfeb 2015-06-05 16:11:14 +00:00
sockex2.ll Use TargetRegisterInfo for printing MachineOperand register comments 2015-11-17 16:01:28 +00:00
struct_ret1.ll [opaque pointer type] Add textual IR support for explicit type parameter to gep operator 2015-03-13 18:20:45 +00:00
struct_ret2.ll
undef.ll [bpf] Do not expand UNDEF SDNode during insn selection lowering 2015-10-08 18:52:40 +00:00
vararg1.ll