diff options
| author | Hal Finkel <hfinkel@anl.gov> | 2014-04-01 18:50:06 +0000 |
|---|---|---|
| committer | Hal Finkel <hfinkel@anl.gov> | 2014-04-01 18:50:06 +0000 |
| commit | b4e001cc818257b771ab4b743fa89266de14bee9 (patch) | |
| tree | abe481282bc27b2576fab22df5e3b3689dde866c /llvm/lib/Transforms | |
| parent | c97323ea8b68a08b80b38a43bdc0805f2169f67e (diff) | |
| download | bcm5719-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

