summaryrefslogtreecommitdiffstats
path: root/llvm/unittests
diff options
context:
space:
mode:
authorClement Courbet <courbet@google.com>2018-06-20 11:54:35 +0000
committerClement Courbet <courbet@google.com>2018-06-20 11:54:35 +0000
commit6fd00e32e54835a850b9cc872f82cf866e6527bb (patch)
tree64fadd646a0e0196c23f9301de376feb81f552f1 /llvm/unittests
parentbd1077e2bc7edb2368ac4947b15d6763ac967869 (diff)
downloadbcm5719-llvm-6fd00e32e54835a850b9cc872f82cf866e6527bb.tar.gz
bcm5719-llvm-6fd00e32e54835a850b9cc872f82cf866e6527bb.zip
[llvm-exegesis] Add mechanism to add target-specific passes.
Summary: createX86FloatingPointStackifierPass is disabled until we handle TracksLiveness correctly. Reviewers: gchatelet Subscribers: mgorny, tschuett, llvm-commits Differential Revision: https://reviews.llvm.org/D48360 llvm-svn: 335117
Diffstat (limited to 'llvm/unittests')
-rw-r--r--llvm/unittests/tools/llvm-exegesis/X86/TargetTest.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/unittests/tools/llvm-exegesis/X86/TargetTest.cpp b/llvm/unittests/tools/llvm-exegesis/X86/TargetTest.cpp
index 683f2a05537..f13e40c706d 100644
--- a/llvm/unittests/tools/llvm-exegesis/X86/TargetTest.cpp
+++ b/llvm/unittests/tools/llvm-exegesis/X86/TargetTest.cpp
@@ -20,7 +20,8 @@ protected:
};
TEST_F(X86TargetTest, Lookup) {
- EXPECT_THAT(ExegesisTarget::lookup("x86_64-unknown-linux"), NotNull());
+ EXPECT_THAT(ExegesisTarget::lookup(llvm::Triple("x86_64-unknown-linux")),
+ NotNull());
}
} // namespace
OpenPOWER on IntegriCloud