[llvm-bugs] [Bug 50090] New: Nary Reassociate pass still hangs on min/max code
via llvm-bugs
llvm-bugs at lists.llvm.org
Fri Apr 23 01:44:40 PDT 2021
https://bugs.llvm.org/show_bug.cgi?id=50090
Bug ID: 50090
Summary: Nary Reassociate pass still hangs on min/max code
Product: libraries
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: Scalar Optimizations
Assignee: unassignedbugs at nondot.org
Reporter: chang-sun.lin.jr at intel.com
CC: llvm-bugs at lists.llvm.org
Created attachment 24794
--> https://bugs.llvm.org/attachment.cgi?id=24794&action=edit
Test case, hangs reassociation
Attached test case still hangs between 2 min/min reassociation patterns, even
after commit 36b932d6 (which fixed one similar case)
opt --debug --nary-reassociate small.ll
NARY: Found common sub-expr: %tmp5 = call i64 @llvm.umin.i64(i64 %tmp4, i64
16384)
NARY: Deleting: %tmp10 = call i64 @llvm.umin.i64(i64 %tmp9, i64 16384)
NARY: Inserting: %tmp10.nary = call i64 @llvm.umin.i64(i64 %tmp5, i64 %tmp)
NARY: Found common sub-expr: %tmp2 = call i64 @llvm.umin.i64(i64 %tmp, i64
%tmp1)
NARY: Deleting: %tmp10.nary = call i64 @llvm.umin.i64(i64 %tmp5, i64 %tmp)
NARY: Inserting: %tmp10.nary.nary = call i64 @llvm.umin.i64(i64 %tmp2, i64
16384)
NARY: Found common sub-expr: %tmp5 = call i64 @llvm.umin.i64(i64 %tmp4, i64
16384)
NARY: Deleting: %tmp10.nary.nary = call i64 @llvm.umin.i64(i64 %tmp2, i64
16384)
NARY: Inserting: %tmp10.nary.nary.nary = call i64 @llvm.umin.i64(i64 %tmp5,
i64 undef)
.....
--
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/20210423/b153e090/attachment.html>
More information about the llvm-bugs
mailing list