mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-27 14:34:58 +00:00
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:
parent
6995cf6015
commit
1d81d88fe3
@ -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() {
|
||||
|
@ -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() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user