summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/SelectionDAGTargetInfo.cpp
diff options
context:
space:
mode:
authorJames Molloy <james.molloy@arm.com>2016-09-08 12:58:12 +0000
committerJames Molloy <james.molloy@arm.com>2016-09-08 12:58:12 +0000
commit753c18f5c00bf64de66b584a252933961bc99df5 (patch)
treed00b91a8e6afce9431f4f60e3daed66f2f59847f /llvm/lib/CodeGen/SelectionDAG/SelectionDAGTargetInfo.cpp
parent7c7255e40b9115802987690516fb10301e22a313 (diff)
downloadbcm5719-llvm-753c18f5c00bf64de66b584a252933961bc99df5.tar.gz
bcm5719-llvm-753c18f5c00bf64de66b584a252933961bc99df5.zip
[Thumb1] AND with a constant operand can be converted into BIC
So model the cost of materializing the constant operand C as the minimum of C and ~C. llvm-svn: 280929
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGTargetInfo.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud