[InstCombine] Signed saturation tests. NFC
[llvm-complete.git] / test / Transforms / Mem2Reg / 2002-03-28-UninitializedVal.ll
blob49b560551d4e54f995f6e2d434e07c0b5f0b0c15
1 ; Uninitialized values are not handled correctly.
3 ; RUN: opt < %s -mem2reg -disable-output
6 define i32 @test() {
7         ; To be promoted
8         %X = alloca i32         ; <i32*> [#uses=1]
9         %Y = load i32, i32* %X          ; <i32> [#uses=1]
10         ret i32 %Y