OSDN Git Service

[bpf] mark mov instructions as ReMaterializable
authorAlexei Starovoitov <alexei.starovoitov@gmail.com>
Tue, 31 Mar 2015 02:49:58 +0000 (02:49 +0000)
committerAlexei Starovoitov <alexei.starovoitov@gmail.com>
Tue, 31 Mar 2015 02:49:58 +0000 (02:49 +0000)
commit8ffc5ca5320db705acbb6f2e42660118c3ff4390
tree1a833b9e9d28ce963f191da6dd019c4f37198e90
parent6b9d1f9cee026ac605a87ae04e75e1add4012ac4
[bpf] mark mov instructions as ReMaterializable

loading immediate into register is cheap, so take advantage of remat.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@233666 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/BPF/BPFInstrInfo.td
test/CodeGen/BPF/basictest.ll