[cfe-commits] r130012 - /cfe/trunk/test/CodeGen/ptx-cc.c

Bob Wilson bob.wilson at apple.com
Fri Apr 22 13:42:46 PDT 2011


Author: bwilson
Date: Fri Apr 22 15:42:46 2011
New Revision: 130012

URL: http://llvm.org/viewvc/llvm-project?rev=130012&view=rev
Log:
Workaround buildbot failure by hacking up this test to emit llvm IR.
This is not a real fix.  It needs some checks to make sure the IR is correct.

Modified:
    cfe/trunk/test/CodeGen/ptx-cc.c

Modified: cfe/trunk/test/CodeGen/ptx-cc.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/ptx-cc.c?rev=130012&r1=130011&r2=130012&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/ptx-cc.c (original)
+++ cfe/trunk/test/CodeGen/ptx-cc.c Fri Apr 22 15:42:46 2011
@@ -1,5 +1,5 @@
-// RUN: %clang_cc1 -triple ptx32-unknown-unknown -O3 -S -o %t %s
-// RUN: %clang_cc1 -triple ptx64-unknown-unknown -O3 -S -o %t %s
+// RUN: %clang_cc1 -triple ptx32-unknown-unknown -O3 -S -o %t %s -emit-llvm
+// RUN: %clang_cc1 -triple ptx64-unknown-unknown -O3 -S -o %t %s -emit-llvm
 
 // Just make sure Clang uses the proper calling convention for the PTX back-end.
 // If something is wrong, the back-end will fail.





More information about the cfe-commits mailing list