Add a test showing the ppc code sequence for getting a function pointer.
authorRafael Espindola <rafael.espindola@gmail.com>
Thu, 29 May 2014 15:13:23 +0000 (15:13 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Thu, 29 May 2014 15:13:23 +0000 (15:13 +0000)
commitf5df18bff0f888d4772ad80d137d2d591bb99b5e
tree8b4e6894c0cc328d14f641a45f8dff98721adb8c
parent843ac4747a6e02884a93e04a5463de340d044a0f
Add a test showing the ppc code sequence for getting a function pointer.

This would have found the miscompile in r209638.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@209820 91177308-0d34-0410-b5e6-96231b3b80d8
test/CodeGen/PowerPC/func-addr.ll [new file with mode: 0644]