OSDN Git Service

bpf: Add more check directives in peephole testcase
authorYonghong Song <yhs@fb.com>
Tue, 13 Mar 2018 06:46:59 +0000 (06:46 +0000)
committerYonghong Song <yhs@fb.com>
Tue, 13 Mar 2018 06:46:59 +0000 (06:46 +0000)
commita26a1c77ed7af2f0920cf1e30d008ee52223253e
treefe4a3362b7f11c121bfebffc389521d0a05057d3
parent8f8572aba3bb3f9b357e9d9d3f78b00981d928a1
bpf: Add more check directives in peephole testcase

Improve the test accuracy by adding more check directives.

Shifts are expected to be eliminated for zero extension but not for signed
extension.

Signed-off-by: Jiong Wang <jiong.wang@netronome.com>
Signed-off-by: Yonghong Song <yhs@fb.com>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@327364 91177308-0d34-0410-b5e6-96231b3b80d8
test/CodeGen/BPF/32-bit-subreg-peephole.ll