OSDN Git Service

[bpf] expand indirect branches
authorAlexei Starovoitov <alexei.starovoitov@gmail.com>
Thu, 17 Sep 2015 22:18:08 +0000 (22:18 +0000)
committerAlexei Starovoitov <alexei.starovoitov@gmail.com>
Thu, 17 Sep 2015 22:18:08 +0000 (22:18 +0000)
commit7f61c22d4194e57cf42b15073b303f43a23a5b93
treea4020832325e2336648dc269f42b9b6ba55e99c1
parentd68f4c039e5afe0bc210aa987bc2e75efe7824db
[bpf] expand indirect branches

BPF instruction set doesn't have indirect branches. Expand them.

Reported by John Fastabend.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@247951 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/BPF/BPFISelLowering.cpp