]> granicus.if.org Git - clang/commit
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)
commit0ca63760b6a135252850be0ba8cc73f6a0fb2b73
treeed69c8fab41b12ae07f32475b53059bc21952766
parente2e2605a5665587116181091d1ddc42972c8548a
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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@263048 91177308-0d34-0410-b5e6-96231b3b80d8
39 files changed:
test/CodeGen/aarch64-neon-2velem.c
test/CodeGen/aarch64-neon-3v.c
test/CodeGen/aarch64-neon-across.c
test/CodeGen/aarch64-neon-extract.c
test/CodeGen/aarch64-neon-fcvt-intrinsics.c
test/CodeGen/aarch64-neon-fma.c
test/CodeGen/aarch64-neon-intrinsics.c
test/CodeGen/aarch64-neon-ldst-one.c
test/CodeGen/aarch64-neon-misc.c
test/CodeGen/aarch64-neon-perm.c
test/CodeGen/aarch64-neon-scalar-copy.c
test/CodeGen/aarch64-neon-scalar-x-indexed-elem.c
test/CodeGen/aarch64-neon-shifts.c
test/CodeGen/aarch64-neon-tbl.c
test/CodeGen/aarch64-neon-vcombine.c
test/CodeGen/aarch64-neon-vget-hilo.c
test/CodeGen/aarch64-neon-vget.c
test/CodeGen/aarch64-poly128.c
test/CodeGen/aarch64-poly64.c
test/CodeGen/arm-bitfield-alignment.c
test/CodeGen/arm-crc32.c
test/CodeGen/arm-neon-directed-rounding.c
test/CodeGen/arm-neon-fma.c
test/CodeGen/arm-neon-numeric-maxmin.c
test/CodeGen/arm-neon-shifts.c
test/CodeGen/arm-neon-vcvtX.c
test/CodeGen/arm-neon-vget.c
test/CodeGen/arm64-be-bitfield.c
test/CodeGen/arm64-crc32.c
test/CodeGen/arm64-lanes.c
test/CodeGen/arm64_vcopy.c
test/CodeGen/arm64_vcreate.c
test/CodeGen/arm64_vdupq_n_f64.c
test/CodeGen/arm_neon_intrinsics.c
test/CodeGen/builtins-arm-exclusive.c
test/CodeGen/builtins-arm.c
test/CodeGen/builtins-arm64.c
test/CodeGen/fp128_complex.c
test/CodeGen/neon-immediate-ubsan.c