]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - opencl/llvm.git/commit
[PPC] Use alias symbols in address computation.
authorRafael Espindola <rafael.espindola@gmail.com>
Thu, 29 May 2014 15:41:38 +0000 (15:41 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Thu, 29 May 2014 15:41:38 +0000 (15:41 +0000)
commit289a9d75de2da5fbfc5e20947ce3afef435ca70c
treeff42ba59a353a15b499beb29dd3d876c2c98f81f
parentf5df18bff0f888d4772ad80d137d2d591bb99b5e
[PPC] Use alias symbols in address computation.

This seems to match what gcc does for ppc and what every other llvm
backend does.

This is a fixed version of r209638. The difference is to avoid any change
in behavior for functions. The logic for using constant pools for function
addresseses is spread over a few places and we have to keep them in sync.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@209821 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PowerPC/PPCAsmPrinter.cpp
lib/Target/PowerPC/PPCISelDAGToDAG.cpp
test/CodeGen/PowerPC/alias.ll [new file with mode: 0644]