summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/PowerPC/varargs-struct-float.ll
diff options
context:
space:
mode:
authorHal Finkel <hfinkel@anl.gov>2015-01-04 12:35:03 +0000
committerHal Finkel <hfinkel@anl.gov>2015-01-04 12:35:03 +0000
commitca6375fb75979ac6098543613e2ac82d48afde5c (patch)
treebc146eb8bc683790cbe066a202e5be62c5a0edc2 /llvm/test/CodeGen/PowerPC/varargs-struct-float.ll
parent66b3130cdae3b3631f094b4a556e7fde454eb030 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud