author | Rafael Espindola <rafael.espindola@gmail.com> | |
Thu, 29 May 2014 15:41:38 +0000 (15:41 +0000) | ||
committer | Rafael Espindola <rafael.espindola@gmail.com> | |
Thu, 29 May 2014 15:41:38 +0000 (15:41 +0000) | ||
commit | 289a9d75de2da5fbfc5e20947ce3afef435ca70c | |
tree | ff42ba59a353a15b499beb29dd3d876c2c98f81f | tree | snapshot (tar.xz tar.gz zip) |
parent | f5df18bff0f888d4772ad80d137d2d591bb99b5e | commit | diff |
[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
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 | diff | blob | history | |
lib/Target/PowerPC/PPCISelDAGToDAG.cpp | diff | blob | history | |
test/CodeGen/PowerPC/alias.ll | [new file with mode: 0644] | blob |