One more place where subreg lowering forgot to transfer undefness.
[oota-llvm.git] / test / CodeGen / ARM / hidden-vis-2.ll
1 ; RUN: llvm-as < %s | llc -mtriple=arm-apple-darwin | grep ldr | count 2
2
3 @x = weak hidden global i32 0           ; <i32*> [#uses=1]
4
5 define i32 @t() nounwind readonly {
6 entry:
7         %0 = load i32* @x, align 4              ; <i32> [#uses=1]
8         ret i32 %0
9 }