summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/MCObjectFileInfo.cpp
diff options
context:
space:
mode:
authorTim Northover <tnorthover@apple.com>2014-04-16 11:52:51 +0000
committerTim Northover <tnorthover@apple.com>2014-04-16 11:52:51 +0000
commit18f68f6d1a21ed26d4c80e344b7b4a5d20b49ac5 (patch)
tree2805dac35609a3d7cd4a8deab514bb4b40412f86 /llvm/lib/MC/MCObjectFileInfo.cpp
parent9cfb57dafa783812109ccf94fe47a462732809d8 (diff)
downloadbcm5719-llvm-18f68f6d1a21ed26d4c80e344b7b4a5d20b49ac5.tar.gz
bcm5719-llvm-18f68f6d1a21ed26d4c80e344b7b4a5d20b49ac5.zip
ARM64: use 32-bit moves for constants where possible.
If we know that a particular 64-bit constant has all high bits zero, then we can rely on the fact that 32-bit ARM64 instructions automatically zero out the high bits of an x-register. This gives the expansion logic less constraints to satisfy and so sometimes allows it to pick better sequences. Came up while porting test/CodeGen/AArch64/movw-consts.ll: this will allow a 32-bit MOVN to be used in @test8 soon. llvm-svn: 206379
Diffstat (limited to 'llvm/lib/MC/MCObjectFileInfo.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud