diff options
author | Akira Hatanaka <ahatanaka@apple.com> | 2017-04-21 00:05:16 +0000 |
---|---|---|
committer | Akira Hatanaka <ahatanaka@apple.com> | 2017-04-21 00:05:16 +0000 |
commit | 19077aaee0e00df2c8e004ee941f7fb5b0b4f205 (patch) | |
tree | 91ff1776784cf3f5e0d5c4e0487c741cf53ab273 /llvm/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.h | |
parent | c6422fed8593e72a29b9eaf6aebbc81048a1b966 (diff) | |
download | bcm5719-llvm-19077aaee0e00df2c8e004ee941f7fb5b0b4f205.tar.gz bcm5719-llvm-19077aaee0e00df2c8e004ee941f7fb5b0b4f205.zip |
[AArch64] Improve code generation for logical instructions taking
immediate operands.
This commit adds an AArch64 dag-combine that optimizes code generation
for logical instructions taking immediate operands. The optimization
uses demanded bits to change a logical instruction's immediate operand
so that the immediate can be folded into the immediate field of the
instruction.
This recommits r300913, which broke bots because I didn't fix a call to
ShrinkDemandedConstant in SIISelLowering.cpp after changing the APIs of
TargetLoweringOpt and TargetLowering.
rdar://problem/18231627
Differential Revision: https://reviews.llvm.org/D5591
llvm-svn: 300930
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.h')
0 files changed, 0 insertions, 0 deletions