diff options
author | Nadav Rotem <nrotem@apple.com> | 2012-10-19 04:27:49 +0000 |
---|---|---|
committer | Nadav Rotem <nrotem@apple.com> | 2012-10-19 04:27:49 +0000 |
commit | 725f1d12801109a3b1d081a6e1c9e44426b2cf34 (patch) | |
tree | 6c1c39385de2ac144f7d5d39f7e2c43ef581c92e /include/llvm/Analysis/ScalarEvolutionExpander.h | |
parent | 9aecdb51c743f13f88748ef3c539a3e6e6df9e99 (diff) | |
download | llvm-725f1d12801109a3b1d081a6e1c9e44426b2cf34.tar.gz llvm-725f1d12801109a3b1d081a6e1c9e44426b2cf34.tar.bz2 llvm-725f1d12801109a3b1d081a6e1c9e44426b2cf34.tar.xz |
recommit the patch that makes LSR and LowerInvoke use the TargetTransform interface.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166264 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Analysis/ScalarEvolutionExpander.h')
-rw-r--r-- | include/llvm/Analysis/ScalarEvolutionExpander.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Analysis/ScalarEvolutionExpander.h b/include/llvm/Analysis/ScalarEvolutionExpander.h index 3f8f149cb4..3ab9c8256b 100644 --- a/include/llvm/Analysis/ScalarEvolutionExpander.h +++ b/include/llvm/Analysis/ScalarEvolutionExpander.h @@ -22,7 +22,7 @@ #include <set> namespace llvm { - class TargetLowering; + class ScalarTargetTransformInfo; /// Return true if the given expression is safe to expand in the sense that /// all materialized values are safe to speculate. @@ -129,7 +129,7 @@ namespace llvm { /// representative. Return the number of phis eliminated. unsigned replaceCongruentIVs(Loop *L, const DominatorTree *DT, SmallVectorImpl<WeakVH> &DeadInsts, - const TargetLowering *TLI = NULL); + const ScalarTargetTransformInfo *STTI = NULL); /// expandCodeFor - Insert code to directly compute the specified SCEV /// expression into the program. The inserted code is inserted into the |