mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-18 18:32:32 +00:00
Apparently only Darwin passes long double misaligned. Compensate.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112748 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
662fb77687
commit
a314afe658
@ -1,7 +1,7 @@
|
||||
// RUN: %llvmgcc %s -m32 -S -o - | FileCheck %s
|
||||
// Misaligned parameter must be memcpy'd to correctly aligned temporary.
|
||||
// XFAIL: *
|
||||
// XTARGET: i386,i686,x86_64
|
||||
// XTARGET: i386-apple-darwin,i686-apple-darwin,x86_64-apple-darwin
|
||||
|
||||
struct s { int x; long double y; };
|
||||
long double foo(struct s x, int i, struct s y) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user