[cfe-commits] r97699 - /cfe/trunk/test/CodeGen/asm.c
Chris Lattner
sabre at nondot.org
Wed Mar 3 16:38:16 PST 2010
Author: lattner
Date: Wed Mar 3 18:38:16 2010
New Revision: 97699
URL: http://llvm.org/viewvc/llvm-project?rev=97699&view=rev
Log:
fix a buildbot failure, this was passing for me because the
'%t' file was left around on my disk. doh.
Modified:
cfe/trunk/test/CodeGen/asm.c
Modified: cfe/trunk/test/CodeGen/asm.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/asm.c?rev=97699&r1=97698&r2=97699&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/asm.c (original)
+++ cfe/trunk/test/CodeGen/asm.c Wed Mar 3 18:38:16 2010
@@ -28,14 +28,16 @@
__asm__ volatile("" : : "i" (t6));
}
-// RUN: grep "T7 NAMED: \$1" %t
void t7(int a) {
__asm__ volatile("T7 NAMED: %[input]" : "+r"(a): [input] "i" (4));
+ // CHECK: @t7(i32
+ // CHECK: T7 NAMED: $1
}
-// RUN: grep "T8 NAMED MODIFIER: \${0:c}" %t
void t8() {
__asm__ volatile("T8 NAMED MODIFIER: %c[input]" :: [input] "i" (4));
+ // CHECK: @t8()
+ // CHECK: T8 NAMED MODIFIER: ${0:c}
}
// PR3682
@@ -45,9 +47,11 @@
}
// PR3908
-// RUN: grep "PR3908 \$1 \$3 \$2 \$0" %t
void t10(int r) {
__asm__("PR3908 %[lf] %[xx] %[li] %[r]" : [r] "+r" (r) : [lf] "mx" (0), [li] "mr" (0), [xx] "x" ((double)(0)));
+
+// CHECK: @t10(
+// CHECK:PR3908 $1 $3 $2 $0
}
More information about the cfe-commits
mailing list