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
This commit is contained in:
Chris Lattner 2007-04-29 18:59:01 +00:00
parent 6995cf6015
commit 1d81d88fe3
2 changed files with 2 additions and 2 deletions

View 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() {

View 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() {