diff options
author | Anton Korobeynikov <asl@math.spbu.ru> | 2009-09-08 22:51:43 +0000 |
---|---|---|
committer | Anton Korobeynikov <asl@math.spbu.ru> | 2009-09-08 22:51:43 +0000 |
commit | 14636a5b8822276713045b4322b1f9f9c0c7c600 (patch) | |
tree | bf3916384a47f796172b5e83c9cceee79e85ce40 /test | |
parent | f15d065c6f04c706e8262c116d3d4d4040f5eb64 (diff) | |
download | external_llvm-14636a5b8822276713045b4322b1f9f9c0c7c600.zip external_llvm-14636a5b8822276713045b4322b1f9f9c0c7c600.tar.gz external_llvm-14636a5b8822276713045b4322b1f9f9c0c7c600.tar.bz2 |
Unbreak getOnesVector() / getZeroVector() to use valid ARM extended imm's.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81262 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/CodeGen/ARM/2009-09-09-AllOnes.ll | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/CodeGen/ARM/2009-09-09-AllOnes.ll b/test/CodeGen/ARM/2009-09-09-AllOnes.ll new file mode 100644 index 0000000..f654a16 --- /dev/null +++ b/test/CodeGen/ARM/2009-09-09-AllOnes.ll @@ -0,0 +1,10 @@ +; RUN: llc -mattr=+neon < %s +target datalayout = "e-p:32:32:32-i1:8:32-i8:8:32-i16:16:32-i32:32:32-i64:32:32-f32:32:32-f64:32:32-v64:64:64-v128:128:128-a0:0:32" +target triple = "thumbv7-elf" + +define arm_apcscc void @foo() { +entry: + %0 = insertelement <4 x i32> undef, i32 -1, i32 3 + store <4 x i32> %0, <4 x i32>* undef, align 16 + unreachable +} |