mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-22 02:05:01 +00:00
This test only works on ppc32 if some optimization is done before
generating LLVM IR; it is correct in the code as written to use 8-byte-aligned operations to copy Key in bar. Formerly the gcc inliner was run, now it isn't. I don't think it's possible to preserve this as a pure FE test. Adding -O2 lets the llvm optimizers get rid of the 8-byte-aligned stores, at least. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73981 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f43f9d0ef8
commit
8ac9ea891c
@ -1,5 +1,5 @@
|
||||
// RUN: %llvmgcc -O2 -S %s -o - | not grep alloca
|
||||
// RUN: %llvmgcc -m32 -S %s -o - | grep store | not grep {align 8}
|
||||
// RUN: %llvmgcc -m32 -O2 -S %s -o - | grep store | not grep {align 8}
|
||||
|
||||
enum {
|
||||
PP_C,
|
||||
|
Loading…
x
Reference in New Issue
Block a user