| commit | ca6375fb75979ac6098543613e2ac82d48afde5c | [log] [tgz] |
|---|---|---|
| author | Hal Finkel <hfinkel@anl.gov> | Sun Jan 04 12:35:03 2015 +0000 |
| committer | Hal Finkel <hfinkel@anl.gov> | Sun Jan 04 12:35:03 2015 +0000 |
| tree | bc146eb8bc683790cbe066a202e5be62c5a0edc2 | |
| parent | 66b3130cdae3b3631f094b4a556e7fde454eb030 [diff] |
[PowerPC] Materialize i64 constants using bit inversion Materializing full 64-bit constants on PPC64 can be expensive, requiring up to 5 instructions depending on the locations of the non-zero bits. Sometimes materializing the bit-reversed constant, and then flipping the bits, requires fewer instructions than the direct method. If so, do that instead. llvm-svn: 225132