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: unassignedb...@nondot.org
Reporter: mikael.hol...@ericsson.com
CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs