diff options
| author | Evan Cheng <evan.cheng@apple.com> | 2009-12-17 09:39:49 +0000 |
|---|---|---|
| committer | Evan Cheng <evan.cheng@apple.com> | 2009-12-17 09:39:49 +0000 |
| commit | 090ac0865a09ff592ec1b36f41f3273d55f98f95 (patch) | |
| tree | 7a12c98bb38240d4ebbe21fbbdad4eaa10a96d55 /llvm/include | |
| parent | aacafe54af7bf2014083bd5d088b79864100d3c7 (diff) | |
| download | bcm5719-llvm-090ac0865a09ff592ec1b36f41f3273d55f98f95.tar.gz bcm5719-llvm-090ac0865a09ff592ec1b36f41f3273d55f98f95.zip | |
Revert 91280-91283, 91286-91289, 91291, 91293, 91295-91296. It apparently introduced a non-deterministic behavior in the optimizer somewhere.
llvm-svn: 91598
Diffstat (limited to 'llvm/include')
| -rw-r--r-- | llvm/include/llvm/Analysis/IVUsers.h | 2 | ||||
| -rw-r--r-- | llvm/include/llvm/Analysis/LoopInfo.h | 7 |
2 files changed, 8 insertions, 1 deletions
diff --git a/llvm/include/llvm/Analysis/IVUsers.h b/llvm/include/llvm/Analysis/IVUsers.h index fcd9caa61f2..22fbb35cdb9 100644 --- a/llvm/include/llvm/Analysis/IVUsers.h +++ b/llvm/include/llvm/Analysis/IVUsers.h @@ -175,11 +175,11 @@ class IVUsers : public LoopPass { ScalarEvolution *SE; SmallPtrSet<Instruction*,16> Processed; +public: /// IVUses - A list of all tracked IV uses of induction variable expressions /// we are interested in. ilist<IVUsersOfOneStride> IVUses; -public: /// IVUsesByStride - A mapping from the strides in StrideOrder to the /// uses in IVUses. std::map<const SCEV *, IVUsersOfOneStride*> IVUsesByStride; diff --git a/llvm/include/llvm/Analysis/LoopInfo.h b/llvm/include/llvm/Analysis/LoopInfo.h index 2294e5352cb..7419cdc4440 100644 --- a/llvm/include/llvm/Analysis/LoopInfo.h +++ b/llvm/include/llvm/Analysis/LoopInfo.h @@ -976,6 +976,13 @@ public: void removeBlock(BasicBlock *BB) { LI.removeBlock(BB); } + + static bool isNotAlreadyContainedIn(const Loop *SubLoop, + const Loop *ParentLoop) { + return + LoopInfoBase<BasicBlock, Loop>::isNotAlreadyContainedIn(SubLoop, + ParentLoop); + } }; |

