https://bugs.llvm.org/show_bug.cgi?id=35074
Bug ID: 35074
Summary: [NewGVN] Assertion `BeforeCC->isEquivalentTo(AfterCC)
&& "Value number changed after main loop completed!"'
failed
Product: libraries
Version: trunk
Hardware: PC
OS: Windows NT
Status: NEW
Severity: enhancement
Priority: P
Component: Scalar Optimizations
Assignee: unassignedb...@nondot.org
Reporter: mcros...@codeaurora.org
CC: llvm-bugs@lists.llvm.org
Likely a duplicate of PR34479 and PR34482, but can be reproduced without polly.
Test.cpp:
class A {
void m_fn1();
void m_fn2(signed);
int mapmaxx;
};
void A::m_fn1() {
int y, a;
y = 1;
for (;; y++)
for (; mapmaxx;) {
a = y - 1;
for (; a <= y + 1; a++)
m_fn2(a);
}
}
Reproduce with:
clang -O3 -mllvm -enable-newgvn test.cpp -o - -S
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs