diff options
author | Clement Courbet <courbet@google.com> | 2018-06-20 11:54:35 +0000 |
---|---|---|
committer | Clement Courbet <courbet@google.com> | 2018-06-20 11:54:35 +0000 |
commit | 859d0672979e85c1c4716341fbd698e9c7585c5c (patch) | |
tree | 53fd0e12812b69da707237fa979041b737d632e4 /unittests/tools | |
parent | 793551740ba42ff8fa5186bcb2f269ca5ed33c83 (diff) |
[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
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@335117 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests/tools')
-rw-r--r-- | unittests/tools/llvm-exegesis/X86/TargetTest.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/unittests/tools/llvm-exegesis/X86/TargetTest.cpp b/unittests/tools/llvm-exegesis/X86/TargetTest.cpp index 683f2a05537..f13e40c706d 100644 --- a/unittests/tools/llvm-exegesis/X86/TargetTest.cpp +++ b/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 |