One more place where subreg lowering forgot to transfer undefness.
[oota-llvm.git] / test / CodeGen / ARM / arm-frameaddr.ll
1 ; RUN: llvm-as < %s | llc -mtriple=arm-apple-darwin  | grep mov | grep r7
2 ; RUN: llvm-as < %s | llc -mtriple=arm-linux-gnueabi | grep mov | grep r11
3 ; PR4344
4 ; PR4416
5
6 define arm_aapcscc i8* @t() nounwind {
7 entry:
8         %0 = call i8* @llvm.frameaddress(i32 0)
9         ret i8* %0
10 }
11
12 declare i8* @llvm.frameaddress(i32) nounwind readnone