summaryrefslogtreecommitdiffstats
path: root/clang/test/Misc/backend-optimization-failure.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Misc/backend-optimization-failure.cpp')
-rw-r--r--clang/test/Misc/backend-optimization-failure.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/test/Misc/backend-optimization-failure.cpp b/clang/test/Misc/backend-optimization-failure.cpp
index 79b7a3a8cf4..1b79fb31d1f 100644
--- a/clang/test/Misc/backend-optimization-failure.cpp
+++ b/clang/test/Misc/backend-optimization-failure.cpp
@@ -1,4 +1,5 @@
-// RUN: %clang_cc1 %s -O3 -emit-llvm -gline-tables-only -S -verify -o /dev/null
+// RUN: %clang_cc1 -triple x86_64-unknown-unknown %s -O3 -emit-llvm -gline-tables-only -S -verify -o /dev/null
+// REQUIRES: x86-registered-target
// Test verifies optimization failures generated by the backend are handled
// correctly by clang. LLVM tests verify all of the failure conditions.
OpenPOWER on IntegriCloud