summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/tools
diff options
context:
space:
mode:
authorGuillaume Chatelet <gchatelet@google.com>2018-06-13 14:07:36 +0000
committerGuillaume Chatelet <gchatelet@google.com>2018-06-13 14:07:36 +0000
commitb391f2430378cd4d1bba41d04e6f60d890748f20 (patch)
treeab87487d53ac38f33a4fc8d50404124285328bdd /llvm/unittests/tools
parente368de364e1fa1dcd0f67a5fbb5ae5cbb0adae65 (diff)
downloadbcm5719-llvm-b391f2430378cd4d1bba41d04e6f60d890748f20.tar.gz
bcm5719-llvm-b391f2430378cd4d1bba41d04e6f60d890748f20.zip
[llvm-exegesis] Fix buildbot - power was using native target for X86.
Reviewers: courbet Reviewed By: courbet Subscribers: tschuett, llvm-commits Differential Revision: https://reviews.llvm.org/D48125 llvm-svn: 334601
Diffstat (limited to 'llvm/unittests/tools')
-rw-r--r--llvm/unittests/tools/llvm-exegesis/X86/SnippetGeneratorTest.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/unittests/tools/llvm-exegesis/X86/SnippetGeneratorTest.cpp b/llvm/unittests/tools/llvm-exegesis/X86/SnippetGeneratorTest.cpp
index d020d4cf309..fda7d069534 100644
--- a/llvm/unittests/tools/llvm-exegesis/X86/SnippetGeneratorTest.cpp
+++ b/llvm/unittests/tools/llvm-exegesis/X86/SnippetGeneratorTest.cpp
@@ -23,7 +23,8 @@ namespace {
class X86SnippetGeneratorTest : public ::testing::Test {
protected:
X86SnippetGeneratorTest()
- : MCInstrInfo(State.getInstrInfo()), MCRegisterInfo(State.getRegInfo()) {}
+ : State("x86_64-unknown-linux", "haswell"),
+ MCInstrInfo(State.getInstrInfo()), MCRegisterInfo(State.getRegInfo()) {}
static void SetUpTestCase() {
LLVMInitializeX86TargetInfo();
OpenPOWER on IntegriCloud