http://llvm.org/bugs/show_bug.cgi?id=12734
Bug #: 12734
Summary: UnrollLoop crashes when a NULL LoopPassManager is
passed in
Product: new-bugs
Version: 3.0
Platform: PC
OS/Version: other
Status: NEW
Severity: normal
Priority: P
Component: new bugs
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Classification: Unclassified
In the comments for UnrollLoop I saw this:
/// If a LoopPassManager is passed in, and the loop is fully removed, it will
be
/// removed from the LoopPassManager as well. LPM can also be NULL.
However if a NULL LPM is passed in the following line in UnrollLoop crashes:
ScalarEvolution *SE = LPM->getAnalysisIfAvailable<ScalarEvolution>();
Is is a comment bug or code bug?
Thanks,
-Stephen
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs