From 1d81d88fe36a70ed2f9040413c85adb88dbf4eb6 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 29 Apr 2007 18:59:01 +0000 Subject: [PATCH] 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 --- test/CFrontend/2007-04-11-InlineAsmStruct.c | 2 +- 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 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() { -- 2.34.1