Implement builtin_return_address(x) and builtin_frame_address(x)
authorDale Johannesen <dalej@apple.com>
Mon, 3 May 2010 22:59:34 +0000 (22:59 +0000)
committerDale Johannesen <dalej@apple.com>
Mon, 3 May 2010 22:59:34 +0000 (22:59 +0000)
commit08673d295056c93628973c5c54724ac294faef88
tree1eae5c5bb485db9aa5be2a045075b5058e0d612c
parent1eaac532615a54a1133367dc2c4ceaa79a150a9d
Implement builtin_return_address(x) and builtin_frame_address(x)
on PPC for x!=0.  7624113.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@102972 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PowerPC/PPCISelLowering.cpp
test/CodeGen/PowerPC/2010-05-03-retaddr1.ll [new file with mode: 0644]