[llvm-bugs] [Bug 37859] New: LoopUnroll introduces infinite loop with nested loops
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue Jun 19 12:43:33 PDT 2018
https://bugs.llvm.org/show_bug.cgi?id=37859
Bug ID: 37859
Summary: LoopUnroll introduces infinite loop with nested loops
Product: libraries
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: enhancement
Priority: P
Component: Scalar Optimizations
Assignee: unassignedbugs at nondot.org
Reporter: Matthew.Arsenault at amd.com
CC: llvm-bugs at lists.llvm.org
Created attachment 20445
--> https://bugs.llvm.org/attachment.cgi?id=20445&action=edit
Testcase
In the attached testcase, there are two nested loops with constant trip counts.
The exit isn't fully eliminated.
opt -loop-unroll -gvn shows a strange infinite loop is introduced instead.
--
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/20180619/1d9269f3/attachment.html>
More information about the llvm-bugs
mailing list