ARM & AArch64: convert asm tests to LLVM IR and restrict optimizations.
authorTim Northover <tnorthover@apple.com>
Wed, 9 Mar 2016 18:54:42 +0000 (18:54 +0000)
committerTim Northover <tnorthover@apple.com>
Wed, 9 Mar 2016 18:54:42 +0000 (18:54 +0000)
commit58672974a95d93f3f8ae97e59798012dbad74239
tree186bcb2c5740621470a7f6c4c48441def9fb0f00
parentc31032d607c25d8bc53d59b68b797285f2736ea1
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
39 files changed:
clang/test/CodeGen/aarch64-neon-2velem.c
clang/test/CodeGen/aarch64-neon-3v.c
clang/test/CodeGen/aarch64-neon-across.c
clang/test/CodeGen/aarch64-neon-extract.c
clang/test/CodeGen/aarch64-neon-fcvt-intrinsics.c
clang/test/CodeGen/aarch64-neon-fma.c
clang/test/CodeGen/aarch64-neon-intrinsics.c
clang/test/CodeGen/aarch64-neon-ldst-one.c
clang/test/CodeGen/aarch64-neon-misc.c
clang/test/CodeGen/aarch64-neon-perm.c
clang/test/CodeGen/aarch64-neon-scalar-copy.c
clang/test/CodeGen/aarch64-neon-scalar-x-indexed-elem.c
clang/test/CodeGen/aarch64-neon-shifts.c
clang/test/CodeGen/aarch64-neon-tbl.c
clang/test/CodeGen/aarch64-neon-vcombine.c
clang/test/CodeGen/aarch64-neon-vget-hilo.c
clang/test/CodeGen/aarch64-neon-vget.c
clang/test/CodeGen/aarch64-poly128.c
clang/test/CodeGen/aarch64-poly64.c
clang/test/CodeGen/arm-bitfield-alignment.c
clang/test/CodeGen/arm-crc32.c
clang/test/CodeGen/arm-neon-directed-rounding.c
clang/test/CodeGen/arm-neon-fma.c
clang/test/CodeGen/arm-neon-numeric-maxmin.c
clang/test/CodeGen/arm-neon-shifts.c
clang/test/CodeGen/arm-neon-vcvtX.c
clang/test/CodeGen/arm-neon-vget.c
clang/test/CodeGen/arm64-be-bitfield.c
clang/test/CodeGen/arm64-crc32.c
clang/test/CodeGen/arm64-lanes.c
clang/test/CodeGen/arm64_vcopy.c
clang/test/CodeGen/arm64_vcreate.c
clang/test/CodeGen/arm64_vdupq_n_f64.c
clang/test/CodeGen/arm_neon_intrinsics.c
clang/test/CodeGen/builtins-arm-exclusive.c
clang/test/CodeGen/builtins-arm.c
clang/test/CodeGen/builtins-arm64.c
clang/test/CodeGen/fp128_complex.c
clang/test/CodeGen/neon-immediate-ubsan.c