not all targets want to return an i32. What really matters is whether llc accepts...
authorChris Lattner <sabre@nondot.org>
Sun, 29 Apr 2007 18:59:01 +0000 (18:59 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 29 Apr 2007 18:59:01 +0000 (18:59 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36569 91177308-0d34-0410-b5e6-96231b3b80d8

test/CFrontend/2007-04-11-InlineAsmStruct.c
test/CFrontend/2007-04-11-InlineAsmUnion.c

index c70ce2976061f9bb8035d6bcbe88212b7ff6b66c..158a16e53665acfe852b52f51b1082962a118558 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %llvmgcc %s -S -emit-llvm -o - | grep {call i32 asm}
+// RUN: %llvmgcc %s -S -emit-llvm -o - | llvm-as | llc
 
 struct V { short X, Y; };
 int bar() {
index 6394a42bb4fdef013f71536a2977d0e068fd5629..0435d6498ee5e0f9643919b30fc084880924583f 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %llvmgcc %s -S -emit-llvm -o - | grep {call i32 asm}
+// RUN: %llvmgcc %s -S -emit-llvm -o - | llvm-as | llc
 
 union U { int x; float p; };
 void foo() {