Bill Schmidt 5bd1dfa2b5 [PowerPC] Fix problems with large code model (PR17169).
Large code model on PPC64 requires creating and referencing TOC entries when
using the addis/ld form of addressing.  This was not being done in all cases.
The changes in this patch to PPCAsmPrinter::EmitInstruction() fix this.  Two
test cases are also modified to reflect this requirement.

Fast-isel was not creating correct code for loading floating-point constants
using large code model.  This also requires the addis/ld form of addressing.
Previously we were using the addis/lfd shortcut which is only applicable to
medium code model.  One test case is modified to reflect this requirement.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190882 91177308-0d34-0410-b5e6-96231b3b80d8
2013-09-17 20:03:25 +00:00
..
2013-03-27 06:52:27 +00:00
2013-07-03 17:59:07 +00:00
2013-08-19 05:01:02 +00:00
2013-04-05 23:29:01 +00:00
2012-12-20 17:47:27 +00:00
2013-08-06 17:03:03 +00:00
2013-04-01 15:58:15 +00:00
2012-08-28 02:10:15 +00:00
2012-08-28 02:10:33 +00:00
2013-04-27 00:43:16 +00:00
2012-12-19 15:49:14 +00:00