1 ; RUN: llc < %s -frame-pointer=all -mtriple=i686-- | not grep xor
2 ; RUN: llc < %s -frame-pointer=all -mtriple=x86_64-- | not grep xor
4 define i8* @h() nounwind readnone optsize {
6 %0 = tail call i8* @llvm.returnaddress(i32 2) ; <i8*> [#uses=1]
10 declare i8* @llvm.returnaddress(i32) nounwind readnone
12 define i8* @g() nounwind readnone optsize {
14 %0 = tail call i8* @llvm.returnaddress(i32 1) ; <i8*> [#uses=1]
18 define i8* @f() nounwind readnone optsize {
20 %0 = tail call i8* @llvm.returnaddress(i32 0) ; <i8*> [#uses=1]