Add codegen patterns for VST1-lane instructions. Radar 8599955.
[oota-llvm.git] / test / Transforms / DeadStoreElimination / byval.ll
1 ; RUN: opt < %s -dse -S | not grep store
2
3 %struct.x = type { i32, i32, i32, i32 }
4
5 define i32 @foo(%struct.x* byval  %a) nounwind  {
6 entry:
7         %tmp2 = getelementptr %struct.x* %a, i32 0, i32 0
8         store i32 1, i32* %tmp2, align 4
9         ret i32 1
10 }