diff options
author | Yonghong Song <yhs@fb.com> | 2017-10-04 16:11:52 +0000 |
---|---|---|
committer | Yonghong Song <yhs@fb.com> | 2017-10-04 16:11:52 +0000 |
commit | 953b9fd37aec20602486b04ba703675d6b3dca78 (patch) | |
tree | 3b589a03dc709ca534f1b7155af62fbea6d28bd4 /lib/Target/BPF | |
parent | c5599f675fb616a08e8f55b3eec79dc643a919c5 (diff) |
bpf: fix an insn encoding issue for neg insn
Signed-off-by: Yonghong Song <yhs@fb.com>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@314911 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/BPF')
-rw-r--r-- | lib/Target/BPF/BPFInstrInfo.td | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/Target/BPF/BPFInstrInfo.td b/lib/Target/BPF/BPFInstrInfo.td index 7d4b03deebe..fcd6a604537 100644 --- a/lib/Target/BPF/BPFInstrInfo.td +++ b/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; } |