bpf: New codegen testcases for 32-bit subregister support
authorYonghong Song <yhs@fb.com>
Fri, 23 Feb 2018 23:49:33 +0000 (23:49 +0000)
committerYonghong Song <yhs@fb.com>
Fri, 23 Feb 2018 23:49:33 +0000 (23:49 +0000)
commitc4ca879fac72882654fe6b80bb3a33fad6c6e5de
treed44580fda76b7506d5c6f324bb4d3fefc2a78fbf
parent60fed1fef0eaad1069aa49f147c3cd1b145381f6
bpf: New codegen testcases for 32-bit subregister support

This patch adds some unit tests for 32-bit subregister support.
We want to make sure ALU32, subregister load/store and new peephole
optimization are truely enabled once -mattr=+alu32 specified.

Signed-off-by: Jiong Wang <jiong.wang@netronome.com>
Reviewed-by: Yonghong Song <yhs@fb.com>
llvm-svn: 325992
llvm/test/CodeGen/BPF/32-bit-subreg-alu.ll [new file with mode: 0644]
llvm/test/CodeGen/BPF/32-bit-subreg-cond-select.ll [new file with mode: 0644]
llvm/test/CodeGen/BPF/32-bit-subreg-load-store.ll [new file with mode: 0644]
llvm/test/CodeGen/BPF/32-bit-subreg-peephole.ll [new file with mode: 0644]