[llvm-bugs] [Bug 33701] New: LoopRotation's DomTree update logic doesn't handle nodes with no predecessors
llvm-bugs at lists.llvm.org
Thu Jul 6 10:31:17 PDT 2017
Bug ID: 33701
Summary: LoopRotation's DomTree update logic doesn't handle
nodes with no predecessors
Component: new bugs
Assignee: unassignedbugs at nondot.org
Reporter: kubakuderski at gmail.com
CC: llvm-bugs at lists.llvm.org
Created attachment 18760
LoopRotation::rotateLoop tries to manually update DomTree by iterating over all
predecessors of some basic block and computing NearestCommonDominator.
Is there's a predecessor that is unreachable, rotateLoop uses nullptr as a new
IDom for the blocks, which results in a crash.
opt -S -loop-rotate -o - reduced9.ll
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-bugs