r213441 - clang/test/Misc/backend-optimization-failure.cpp: Appease to add -triple=x86_64.

NAKAMURA Takumi geek4civic at gmail.com
Fri Jul 18 18:17:33 PDT 2014


Author: chapuni
Date: Fri Jul 18 20:17:32 2014
New Revision: 213441

URL: http://llvm.org/viewvc/llvm-project?rev=213441&view=rev
Log:
clang/test/Misc/backend-optimization-failure.cpp: Appease to add -triple=x86_64.

FIXME: Could this be made generic?

Modified:
    cfe/trunk/test/Misc/backend-optimization-failure.cpp

Modified: cfe/trunk/test/Misc/backend-optimization-failure.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Misc/backend-optimization-failure.cpp?rev=213441&r1=213440&r2=213441&view=diff
==============================================================================
--- cfe/trunk/test/Misc/backend-optimization-failure.cpp (original)
+++ cfe/trunk/test/Misc/backend-optimization-failure.cpp Fri Jul 18 20:17:32 2014
@@ -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.





More information about the cfe-commits mailing list