diff options
author | Roman Divacky <rdivacky@freebsd.org> | 2011-06-03 15:47:49 +0000 |
---|---|---|
committer | Roman Divacky <rdivacky@freebsd.org> | 2011-06-03 15:47:49 +0000 |
commit | 0c9b559bfd0b476c2dde787285a1195f3142c423 (patch) | |
tree | 672e8dcfb940f11212dd2bddaee81c03afb7adea /lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | 422b62b4079b49553a5e8bc793d4413494e221d7 (diff) |
Fix wrong usages of CTR/MCTR where CTR8/MCTR8 was meant.
- Check for MTCTR8 in addition to MTCTR when looking up a hazard.
- When lowering an indirect call use CTR8 when targeting 64bit.
- Introduce BCTR8 that uses CTR8 and use it on 64bit when expanding ISD::BRIND.
The last change fixes PR8487. With those changes, we are able to compile a
running "ls" and "sh" on FreeBSD/PowerPC64.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132552 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions