Roman Divacky 0c9b559bfd 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
2011-06-03 15:47:49 +00:00
..
2010-11-14 22:22:14 +00:00
2011-05-02 15:58:16 +00:00
2010-11-14 22:22:14 +00:00
2010-07-16 22:51:10 +00:00
2010-03-28 07:58:37 +00:00
2011-03-09 22:07:31 +00:00
2009-09-11 18:36:27 +00:00
2011-05-02 15:58:16 +00:00
2010-01-05 17:55:26 +00:00
2010-02-28 20:36:49 +00:00
2010-11-14 22:22:14 +00:00
2010-11-14 22:22:14 +00:00
2010-01-21 20:01:04 +00:00
2010-11-14 22:22:14 +00:00