[llvm-commits] [llvm] r53085 - /llvm/trunk/lib/Transforms/Scalar/LoopUnswitch.cpp
Devang Patel
dpatel at apple.com
Wed Jul 2 22:55:03 PDT 2008
Author: dpatel
Date: Thu Jul 3 00:55:03 2008
New Revision: 53085
URL: http://llvm.org/viewvc/llvm-project?rev=53085&view=rev
Log:
LoopUnswitch does not preserve dominator info in all cases.
Modified:
llvm/trunk/lib/Transforms/Scalar/LoopUnswitch.cpp
Modified: llvm/trunk/lib/Transforms/Scalar/LoopUnswitch.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/LoopUnswitch.cpp?rev=53085&r1=53084&r2=53085&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/LoopUnswitch.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/LoopUnswitch.cpp Thu Jul 3 00:55:03 2008
@@ -112,8 +112,9 @@
AU.addPreserved<LoopInfo>();
AU.addRequiredID(LCSSAID);
AU.addPreservedID(LCSSAID);
- AU.addPreserved<DominatorTree>();
- AU.addPreserved<DominanceFrontier>();
+ // FIXME: Loop Unswitch does not preserve dominator info in all cases.
+ // AU.addPreserved<DominatorTree>();
+ // AU.addPreserved<DominanceFrontier>();
}
private:
More information about the llvm-commits
mailing list