summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Utils/LoopUnroll.cpp
diff options
context:
space:
mode:
authorSanjoy Das <sanjoy@playingwithpointers.com>2015-04-14 03:20:32 +0000
committerSanjoy Das <sanjoy@playingwithpointers.com>2015-04-14 03:20:32 +0000
commita9f1e27a0493892005c1602ffdf76a3a7ff19d73 (patch)
treeb303989a3ff3457aa1e29b6d86a3a8da55b7742b /llvm/lib/Transforms/Utils/LoopUnroll.cpp
parent2e6bb3b947ea30bb169b89ea03cef6bce546f8e9 (diff)
downloadbcm5719-llvm-a9f1e27a0493892005c1602ffdf76a3a7ff19d73.tar.gz
bcm5719-llvm-a9f1e27a0493892005c1602ffdf76a3a7ff19d73.zip
[SCEV] Strengthen SCEVExpander::isHighCostExpansion.
Summary: Teach `isHighCostExpansion` to consider divisions by power-of-two constants as cheap and add a test case. This change is needed for a new user of `isHighCostExpansion` that will be added in a subsequent change. Depends on D8995. Reviewers: atrick Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D8993 llvm-svn: 234845
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUnroll.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud