mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
Fix r332344: only the native target is linked.
llvm-svn: 332345
This commit is contained in:
parent
be6ab91eb0
commit
d1aa19fac3
@ -135,7 +135,10 @@ void analysisMain() {
|
||||
// FIXME: Check that all points have the same triple/cpu.
|
||||
// FIXME: Merge points from several runs (latency and uops).
|
||||
|
||||
llvm::InitializeAllTargets();
|
||||
//llvm::InitializeAllTargets();
|
||||
llvm::InitializeNativeTarget();
|
||||
llvm::InitializeNativeTargetAsmPrinter();
|
||||
|
||||
std::string Error;
|
||||
const auto *TheTarget =
|
||||
llvm::TargetRegistry::lookupTarget(Points[0].LLVMTriple, Error);
|
||||
|
Loading…
Reference in New Issue
Block a user