]> granicus.if.org Git - llvm/commit
bpf: refactor inst patterns with more mnemonics
authorYonghong Song <yhs@fb.com>
Fri, 22 Sep 2017 04:36:32 +0000 (04:36 +0000)
committerYonghong Song <yhs@fb.com>
Fri, 22 Sep 2017 04:36:32 +0000 (04:36 +0000)
commitbadbc448ca5eeee04a36ff751d3e333493d20d80
tree634c2b19aa18b7a9cac38c2ebb1def5b49a659f6
parentd6812a1a39fb35b1de8bc344825dc1d4067a84fe
bpf: refactor inst patterns with more mnemonics

Currently, eBPF backend is using some constant directly in instruction patterns,
This patch replace them with mnemonics and removed some unnecessary temparary
variables.

Acked-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: Jiong Wang <jiong.wang@netronome.com>
Reviewed-by: Yonghong Song <yhs@fb.com>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@313958 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/BPF/BPFInstrFormats.td
lib/Target/BPF/BPFInstrInfo.td