summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
diff options
context:
space:
mode:
authorHal Finkel <hfinkel@anl.gov>2014-04-01 18:50:06 +0000
committerHal Finkel <hfinkel@anl.gov>2014-04-01 18:50:06 +0000
commitb4e001cc818257b771ab4b743fa89266de14bee9 (patch)
treeabe481282bc27b2576fab22df5e3b3689dde866c /llvm/lib/Transforms
parentc97323ea8b68a08b80b38a43bdc0805f2169f67e (diff)
downloadbcm5719-llvm-b4e001cc818257b771ab4b743fa89266de14bee9.tar.gz
bcm5719-llvm-b4e001cc818257b771ab4b743fa89266de14bee9.zip
Use TopTTI->getGEPCost from within getUserCost
The implementation of getUserCost had duplicated (and hard-coded) the default logic in getGEPCost. Instead, it is better to use getGEPCost directly, which limits the default logic to the implementation of one function, and allows targets to override the behavior. No functionality change intended. llvm-svn: 205346
Diffstat (limited to 'llvm/lib/Transforms')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud