| Shih-wei Liao | e264f62 | 2010-02-10 11:10:31 -0800 | [diff] [blame] | 1 | ; RUN: llc < %s -march=x86 | grep mov | grep ebp |
| 2 | |||||
| 3 | define i8* @t() nounwind { | ||||
| 4 | entry: | ||||
| 5 | %0 = tail call i8* @llvm.frameaddress(i32 0) | ||||
| 6 | ret i8* %0 | ||||
| 7 | } | ||||
| 8 | |||||
| 9 | declare i8* @llvm.frameaddress(i32) nounwind readnone | ||||