From: Chris Lattner Date: Sun, 29 Apr 2007 18:59:01 +0000 (+0000) Subject: not all targets want to return an i32. What really matters is whether llc accepts... X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=1d81d88fe36a70ed2f9040413c85adb88dbf4eb6;p=oota-llvm.git 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 --- diff --git a/test/CFrontend/2007-04-11-InlineAsmStruct.c b/test/CFrontend/2007-04-11-InlineAsmStruct.c index c70ce297606..158a16e5366 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 6394a42bb4f..0435d6498ee 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() {