[llvm-bugs] [Bug 38283] New: [SimpleLoopUnswitch] Assertion `OldContainingL->hasDedicatedExits() && "Unexpected predecessor of hoisted loop preheader!"' failed.
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue Jul 24 01:29:00 PDT 2018
https://bugs.llvm.org/show_bug.cgi?id=38283
Bug ID: 38283
Summary: [SimpleLoopUnswitch] Assertion
`OldContainingL->hasDedicatedExits() && "Unexpected
predecessor of hoisted loop preheader!"' failed.
Product: libraries
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: Loop Optimizer
Assignee: unassignedbugs at nondot.org
Reporter: paulsson at linux.vnet.ibm.com
CC: llvm-bugs at lists.llvm.org
Created attachment 20593
--> https://bugs.llvm.org/attachment.cgi?id=20593&action=edit
reduced testcase
Getting dozens of test failures with -enable-simple-loop-unswitch currently.
Attached is a reduced test case for opt:
opt -mtriple=s390x-linux-gnu -O3 -mcpu=z13 -enable-simple-loop-unswitch
./tc_simpleloopunsw.ll
opt:
/home/ijonpan/llvm/llvm-dev/lib/Transforms/Scalar/SimpleLoopUnswitch.cpp:308:
void hoistLoopToNewParent(llvm::Loop&, llvm::BasicBlock&, llvm::DominatorTree&,
llvm::LoopInfo&): Assertion `OldContainingL->hasDedicatedExit\
s() && "Unexpected predecessor of hoisted loop preheader!"' failed.
Stack dump:
0. Program arguments: /home/ijonpan/llvm/build/llvm-dev/bin/opt
-mtriple=s390x-linux-gnu -O3 -mcpu=z13 -enable-simple-loop-unswitch
./tc_simpleloopunsw.ll
1. Running pass 'CallGraph Pass Manager' on module
'./tc_simpleloopunsw.ll'.
2. Running pass 'Loop Pass Manager' on function '@func_9'
3. Running pass 'Simple unswitch loops' on basic block '%bb9'
...
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20180724/55721571/attachment.html>
More information about the llvm-bugs
mailing list