Add encoding for VSTR.
[oota-llvm.git] / test / Transforms / DeadStoreElimination / simple.ll
1 ; RUN: opt < %s -basicaa -dse -S | not grep DEAD
2 target datalayout = "E-p:64:64:64-a0:0:8-f32:32:32-f64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-v64:64:64-v128:128:128"
3
4 define void @test(i32* %Q, i32* %P) {
5         %DEAD = load i32* %Q            ; <i32> [#uses=1]
6         store i32 %DEAD, i32* %P
7         store i32 0, i32* %P
8         ret void
9 }
10