summaryrefslogtreecommitdiff
path: root/test/CFrontend
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-04-29 18:59:01 +0000
committerChris Lattner <sabre@nondot.org>2007-04-29 18:59:01 +0000
commit1d81d88fe36a70ed2f9040413c85adb88dbf4eb6 (patch)
tree709fcd0ea22ca46de913418ab293026fa134df24 /test/CFrontend
parent6995cf6015580eeab07a1c671fca180084a1325e (diff)
downloadllvm-1d81d88fe36a70ed2f9040413c85adb88dbf4eb6.tar.gz
llvm-1d81d88fe36a70ed2f9040413c85adb88dbf4eb6.tar.bz2
llvm-1d81d88fe36a70ed2f9040413c85adb88dbf4eb6.tar.xz
not all targets want to return an i32. What really matters is whether llc accepts the generated code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36569 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CFrontend')
-rw-r--r--test/CFrontend/2007-04-11-InlineAsmStruct.c2
-rw-r--r--test/CFrontend/2007-04-11-InlineAsmUnion.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/CFrontend/2007-04-11-InlineAsmStruct.c b/test/CFrontend/2007-04-11-InlineAsmStruct.c
index c70ce29760..158a16e536 100644
--- a/test/CFrontend/2007-04-11-InlineAsmStruct.c
+++ b/test/CFrontend/2007-04-11-InlineAsmStruct.c
@@ -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() {
diff --git a/test/CFrontend/2007-04-11-InlineAsmUnion.c b/test/CFrontend/2007-04-11-InlineAsmUnion.c
index 6394a42bb4..0435d6498e 100644
--- a/test/CFrontend/2007-04-11-InlineAsmUnion.c
+++ b/test/CFrontend/2007-04-11-InlineAsmUnion.c
@@ -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() {