summaryrefslogtreecommitdiffstats
path: root/lldb/source/Expression/IRInterpreter.cpp
diff options
context:
space:
mode:
authorQuentin Colombet <qcolombet@apple.com>2013-05-31 17:20:29 +0000
committerQuentin Colombet <qcolombet@apple.com>2013-05-31 17:20:29 +0000
commit8aa7abe2aea08bc3176aa5ede0dc3718fa8d2ff3 (patch)
tree91af8f3782b7bb45aac1ed19fcf826390bccd7d2 /lldb/source/Expression/IRInterpreter.cpp
parentf1ed334d552a5e1dc608cdff4ad9319acac76520 (diff)
downloadbcm5719-llvm-8aa7abe2aea08bc3176aa5ede0dc3718fa8d2ff3.tar.gz
bcm5719-llvm-8aa7abe2aea08bc3176aa5ede0dc3718fa8d2ff3.zip
Modify how the formulae are rated in Loop Strength Reduce.
Namely, check if the target allows to fold more that one register in the addressing mode and if yes, adjust the cost accordingly. Prior to this commit, reg1 + scale * reg2 accesses were artificially preferred to reg1 + reg2 accesses. Indeed, the cost model wrongly assumed that reg1 + reg2 needs a temporary register for the computation, whereas it was correctly estimated for reg1 + scale * reg2. <rdar://problem/13973908> llvm-svn: 183021
Diffstat (limited to 'lldb/source/Expression/IRInterpreter.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud