mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-02 07:11:49 +00:00
Make this more likely to be passed byval.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46451 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
200e90c74b
commit
1f0315462b
@ -1,6 +1,6 @@
|
||||
// RUN: %llvmgcc %s -S -O1 -o - | llvm-as | opt -std-compile-opts | llvm-dis | not grep add
|
||||
|
||||
struct S { int A; int B; int C; int D; };
|
||||
struct S { int A; int B; char C[1000]; };
|
||||
|
||||
int f(struct S x) __attribute__ ((const));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user