[llvm-bugs] [Bug 47381] New: Assertion `(LocalChanged || (RefHash == StructuralHash(F))) && "Pass modifies its input and doesn't report it."' for -indvars pass
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue Sep 1 03:48:38 PDT 2020
https://bugs.llvm.org/show_bug.cgi?id=47381
Bug ID: 47381
Summary: Assertion `(LocalChanged || (RefHash ==
StructuralHash(F))) && "Pass modifies its input and
doesn't report it."' for -indvars pass
Product: libraries
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: Loop Optimizer
Assignee: unassignedbugs at nondot.org
Reporter: mikael.holmen at ericsson.com
CC: llvm-bugs at lists.llvm.org
Created attachment 23911
--> https://bugs.llvm.org/attachment.cgi?id=23911&action=edit
reproducer
opt needs to be compiled with EXPENSIVE_CHECKS.
Reproduce with:
opt -S -indvars < eliminate-overflow-intrinsic-changed.ll
Result:
Pass modifies its input and doesn't report it: Induction Variable
Simplification
Pass modifies its input and doesn't report it
UNREACHABLE executed at ../lib/Analysis/LoopPass.cpp:204!
PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash
backtrace.
The call to
@llvm.ssub.with.overflow.i32
is changed to a
sub nsw
but the change is not reported.
The change is done by
SimplifyIndvar::eliminateOverflowIntrinsic
--
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/20200901/68bffab2/attachment.html>
More information about the llvm-bugs
mailing list