[DAGCombiner] Eliminate dead stores to stack.
[llvm-complete.git] / test / CodeGen / X86 / shift-one.ll
blobd961eb1451b936d86283cc235f85f062f1e9c246
1 ; RUN: llc < %s -mtriple=i686-- | not grep leal
3 @x = external global i32                ; <i32*> [#uses=1]
5 define i32 @test() {
6         %tmp.0 = load i32, i32* @x           ; <i32> [#uses=1]
7         %tmp.1 = shl i32 %tmp.0, 1              ; <i32> [#uses=1]
8         ret i32 %tmp.1