[llvm] r232222 - bpf: turn on HasJIT flag in BPF backend
Alexei Starovoitov
alexei.starovoitov at gmail.com
Fri Mar 13 15:03:26 PDT 2015
Author: ast
Date: Fri Mar 13 17:03:25 2015
New Revision: 232222
URL: http://llvm.org/viewvc/llvm-project?rev=232222&view=rev
Log:
bpf: turn on HasJIT flag in BPF backend
basic tests that use BPF backend to produce code in memory are passing.
Modified:
llvm/trunk/lib/Target/BPF/TargetInfo/BPFTargetInfo.cpp
Modified: llvm/trunk/lib/Target/BPF/TargetInfo/BPFTargetInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/BPF/TargetInfo/BPFTargetInfo.cpp?rev=232222&r1=232221&r2=232222&view=diff
==============================================================================
--- llvm/trunk/lib/Target/BPF/TargetInfo/BPFTargetInfo.cpp (original)
+++ llvm/trunk/lib/Target/BPF/TargetInfo/BPFTargetInfo.cpp Fri Mar 13 17:03:25 2015
@@ -14,5 +14,5 @@ using namespace llvm;
Target llvm::TheBPFTarget;
extern "C" void LLVMInitializeBPFTargetInfo() {
- RegisterTarget<Triple::bpf> X(TheBPFTarget, "bpf", "BPF");
+ RegisterTarget<Triple::bpf, /*HasJIT=*/true> X(TheBPFTarget, "bpf", "BPF");
}
More information about the llvm-commits
mailing list