diff options
author | Weiming Zhao <weimingz@codeaurora.org> | 2016-06-28 22:30:45 +0000 |
---|---|---|
committer | Weiming Zhao <weimingz@codeaurora.org> | 2016-06-28 22:30:45 +0000 |
commit | 5410edddb1dcd2a46fa0f212fb4cb0403ba7431d (patch) | |
tree | a9f9ae65a39c91d5d94a3496560052dd97ec674e /lldb/packages/Python/lldbsuite/test/expression_command/call-function | |
parent | d16490dfd19f8cdb1ca03388ca762707a501558b (diff) | |
download | bcm5719-llvm-5410edddb1dcd2a46fa0f212fb4cb0403ba7431d.tar.gz bcm5719-llvm-5410edddb1dcd2a46fa0f212fb4cb0403ba7431d.zip |
[ARM] Fix 28282: cost computation for constant hoisting
Summary:
This fixes bug: https://llvm.org/bugs/show_bug.cgi?id=28282
Currently the cost model of constant hoisting checks the bit width of the data type of the constants.
However, the actual immediate value is small enough and not need to be hoisted.
This patch checks for the actual bit width needed for the constant.
Reviewers: t.p.northover, rengolin
Subscribers: aemerson, rengolin, llvm-commits
Differential Revision: http://reviews.llvm.org/D21668
llvm-svn: 274073
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/call-function')
0 files changed, 0 insertions, 0 deletions