[WebAssembly] Don't perform the returned-argument optimization on constants.
[oota-llvm.git] / test / CodeGen / ARM / 2009-09-09-AllOnes.ll
1 ; RUN: llc -mattr=+neon < %s
2 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"
3 target triple = "thumbv7-elf"
4
5 define void @foo() {
6 entry:
7   %0 = insertelement <4 x i32> undef, i32 -1, i32 3
8   store <4 x i32> %0, <4 x i32>* undef, align 16
9   unreachable
10 }