[llvm-commits] [llvm] r78388 - /llvm/trunk/lib/Transforms/Scalar/LoopRotation.cpp
Eli Friedman
eli.friedman at gmail.com
Fri Aug 7 10:37:05 PDT 2009
On Fri, Aug 7, 2009 at 10:16 AM, Devang Patel<dpatel at apple.com> wrote:
> + if (DominatorTree *DT = getAnalysisIfAvailable<DominatorTree>()) {
It should be impossible to have DF without DT, which is why the
original code didn't bother to check. If that seems too fragile, I'd
suggest an assert rather than an if statement.
-Eli
More information about the llvm-commits
mailing list