diff options
author | Hal Finkel <hfinkel@anl.gov> | 2015-01-04 12:35:03 +0000 |
---|---|---|
committer | Hal Finkel <hfinkel@anl.gov> | 2015-01-04 12:35:03 +0000 |
commit | ca6375fb75979ac6098543613e2ac82d48afde5c (patch) | |
tree | bc146eb8bc683790cbe066a202e5be62c5a0edc2 /llvm/test/CodeGen/PowerPC/varargs-struct-float.ll | |
parent | 66b3130cdae3b3631f094b4a556e7fde454eb030 (diff) | |
download | bcm5719-llvm-ca6375fb75979ac6098543613e2ac82d48afde5c.tar.gz bcm5719-llvm-ca6375fb75979ac6098543613e2ac82d48afde5c.zip |
[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
Diffstat (limited to 'llvm/test/CodeGen/PowerPC/varargs-struct-float.ll')
0 files changed, 0 insertions, 0 deletions