diff options
author | Chris Lattner <sabre@nondot.org> | 2007-04-29 18:59:01 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-04-29 18:59:01 +0000 |
commit | 1d81d88fe36a70ed2f9040413c85adb88dbf4eb6 (patch) | |
tree | 709fcd0ea22ca46de913418ab293026fa134df24 | |
parent | 6995cf6015580eeab07a1c671fca180084a1325e (diff) |
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
-rw-r--r-- | test/CFrontend/2007-04-11-InlineAsmStruct.c | 2 | ||||
-rw-r--r-- | test/CFrontend/2007-04-11-InlineAsmUnion.c | 2 |
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() { |