summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorYonghong Song <yhs@fb.com>2017-10-04 16:11:52 +0000
committerYonghong Song <yhs@fb.com>2017-10-04 16:11:52 +0000
commit09b01b35558ee2ef83f60efa957c17ae4de72970 (patch)
treeff085982bde9478a247f8cbe8d1e3d2ada62012c /llvm/lib
parent9445b89c498d8cc4de3f77ae461e594548a95402 (diff)
downloadbcm5719-llvm-09b01b35558ee2ef83f60efa957c17ae4de72970.tar.gz
bcm5719-llvm-09b01b35558ee2ef83f60efa957c17ae4de72970.zip
bpf: fix an insn encoding issue for neg insn
Signed-off-by: Yonghong Song <yhs@fb.com> llvm-svn: 314911
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/BPF/BPFInstrInfo.td2
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/Target/BPF/BPFInstrInfo.td b/llvm/lib/Target/BPF/BPFInstrInfo.td
index 7d4b03deebe..fcd6a604537 100644
--- a/llvm/lib/Target/BPF/BPFInstrInfo.td
+++ b/llvm/lib/Target/BPF/BPFInstrInfo.td
@@ -238,9 +238,7 @@ class NEG_RR<BPFOpClass Class, BPFArithOp Opc,
dag outs, dag ins, string asmstr, list<dag> pattern>
: TYPE_ALU_JMP<Opc.Value, 0, outs, ins, asmstr, pattern> {
bits<4> dst;
- bits<4> src;
- let Inst{55-52} = src;
let Inst{51-48} = dst;
let BPFClass = Class;
}
OpenPOWER on IntegriCloud