1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00
llvm-mirror/test/CodeGen/BPF
Yonghong Song 4f63cbd37f [BPF] Teach DAG2DAG AND elimination about load intrinsics
As commented on the existing code:

  // The Reg operand should be a virtual register, which is defined
  // outside the current basic block. DAG combiner has done a pretty
  // good job in removing truncating inside a single basic block.

However, when the Reg operand comes from bpf_load_[byte | half | word]
intrinsics, the generic optimizer doesn't understand their results are
zero extended, so these single basic block elimination opportunities were
missed.

Acked-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Acked-by: Yonghong Song <yhs@fb.com>
Signed-off-by: Jiong Wang <jiong.wang@netronome.com>
llvm-svn: 322534
2018-01-16 07:27:19 +00:00
..
alu8.ll
atomics.ll
basictest.ll
byval.ll
cc_args_be.ll [bpf] allow direct and indirect calls 2017-11-19 01:35:00 +00:00
cc_args.ll [bpf] allow direct and indirect calls 2017-11-19 01:35:00 +00:00
cc_ret.ll [bpf] allow direct and indirect calls 2017-11-19 01:35:00 +00:00
cmp.ll
dwarfdump.ll
ex1.ll
fi_ri.ll [bpf] allow direct and indirect calls 2017-11-19 01:35:00 +00:00
inline_asm.ll
intrinsics.ll
lit.local.cfg
load.ll
loops.ll
many_args1.ll
many_args2.ll
mem_offset_be.ll
mem_offset.ll
objdump_atomics.ll
objdump_cond_op_2.ll
objdump_cond_op.ll
objdump_imm_hex.ll bpf: add support for objdump -print-imm-hex 2017-12-20 19:39:58 +00:00
objdump_intrinsics.ll
objdump_trivial.ll
reloc.ll
remove_truncate_1.ll
remove_truncate_2.ll
remove_truncate_3.ll bpf: add a test case for trunc-op optimization 2017-11-20 21:37:58 +00:00
remove_truncate_4.ll [BPF] Teach DAG2DAG AND elimination about load intrinsics 2018-01-16 07:27:19 +00:00
rodata_1.ll
rodata_2.ll
rodata_3.ll
rodata_4.ll
sanity.ll [bpf] allow direct and indirect calls 2017-11-19 01:35:00 +00:00
sdiv_error.ll
select_ri.ll
setcc.ll
shifts.ll
sockex2.ll [CodeGen] Print register names in lowercase in both MIR and debug output 2017-11-28 17:15:09 +00:00
struct_ret1.ll
struct_ret2.ll
undef.ll [DAG] Do MergeConsecutiveStores again before Instruction Selection 2017-11-27 15:28:15 +00:00
vararg1.ll
warn-call.ll [bpf] allow direct and indirect calls 2017-11-19 01:35:00 +00:00
warn-stack.ll