From f999e47e644a55296d3c577ec2fb7753812c0d8d Mon Sep 17 00:00:00 2001 From: Devang Patel Date: Thu, 3 Jul 2008 05:55:03 +0000 Subject: [PATCH] LoopUnswitch does not preserve dominator info in all cases. llvm-svn: 53085 --- lib/Transforms/Scalar/LoopUnswitch.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/Transforms/Scalar/LoopUnswitch.cpp b/lib/Transforms/Scalar/LoopUnswitch.cpp index b6c6e03609d..f57b7bb5194 100644 --- a/lib/Transforms/Scalar/LoopUnswitch.cpp +++ b/lib/Transforms/Scalar/LoopUnswitch.cpp @@ -112,8 +112,9 @@ namespace { AU.addPreserved(); AU.addRequiredID(LCSSAID); AU.addPreservedID(LCSSAID); - AU.addPreserved(); - AU.addPreserved(); + // FIXME: Loop Unswitch does not preserve dominator info in all cases. + // AU.addPreserved(); + // AU.addPreserved(); } private: