diff options
author | Tim Northover <tnorthover@apple.com> | 2016-03-09 18:54:42 +0000 |
---|---|---|
committer | Tim Northover <tnorthover@apple.com> | 2016-03-09 18:54:42 +0000 |
commit | 58672974a95d93f3f8ae97e59798012dbad74239 (patch) | |
tree | 186bcb2c5740621470a7f6c4c48441def9fb0f00 /clang/test/CodeGen/arm-bitfield-alignment.c | |
parent | c31032d607c25d8bc53d59b68b797285f2736ea1 (diff) | |
download | bcm5719-llvm-58672974a95d93f3f8ae97e59798012dbad74239.tar.gz bcm5719-llvm-58672974a95d93f3f8ae97e59798012dbad74239.zip |
ARM & AArch64: convert asm tests to LLVM IR and restrict optimizations.
This is mostly a one-time autoconversion of tests that checked assembly after
"-Owhatever" compiles to only run "opt -mem2reg" and check the assembly. This
should make them much more stable to changes in LLVM so they won't break on
unrelated changes.
"opt -mem2reg" is a compromise designed to increase the readability of tests
that check dataflow, while minimizing dependency on LLVM. Hopefully mem2reg is
stable enough that no surpises will come along.
Should address http://llvm.org/PR26815.
llvm-svn: 263048
Diffstat (limited to 'clang/test/CodeGen/arm-bitfield-alignment.c')
-rw-r--r-- | clang/test/CodeGen/arm-bitfield-alignment.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/CodeGen/arm-bitfield-alignment.c b/clang/test/CodeGen/arm-bitfield-alignment.c index 66bbdae57bb..1c453b2e2d6 100644 --- a/clang/test/CodeGen/arm-bitfield-alignment.c +++ b/clang/test/CodeGen/arm-bitfield-alignment.c @@ -1,5 +1,5 @@ -// RUN: %clang_cc1 -triple arm-none-eabi -ffreestanding -emit-llvm -o - -O3 %s | FileCheck %s -// RUN: %clang_cc1 -triple aarch64 -ffreestanding -emit-llvm -o - -O3 %s | FileCheck %s +// RUN: %clang_cc1 -triple arm-none-eabi -ffreestanding -emit-llvm -o - %s | FileCheck %s +// RUN: %clang_cc1 -triple aarch64 -ffreestanding -emit-llvm -o - %s | FileCheck %s extern struct T { int b0 : 8; |