[llvm-bugs] [Bug 25440] New: assertion in GVN
via llvm-bugs
llvm-bugs at lists.llvm.org
Fri Nov 6 23:16:11 PST 2015
https://llvm.org/bugs/show_bug.cgi?id=25440
Bug ID: 25440
Summary: assertion in GVN
Product: new-bugs
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: new bugs
Assignee: unassignedbugs at nondot.org
Reporter: weimingz at codeaurora.org
CC: llvm-bugs at lists.llvm.org
Classification: Unclassified
Created attachment 15240
--> https://llvm.org/bugs/attachment.cgi?id=15240&action=edit
reduced test case
on tip r252395, GVN hits an assertion:
lib/Transforms/Scalar/GVN.cpp:467: uint32_t
<anonymousnamespace>::ValueTable::lookup(llvm::Value *) const: Assertion `VI !=
valueNumbering.end() && "Value not numbered?"' failed.
To reproduce:
opt -gvn -S bugpoint-reduced-simplified.ll
The reason it hits the assertion is when it coerced the two loads:
%0 = load i16, i16* %code1, align 4
%bf.load = load i16, i16* %mode, align 2
it inserts some truncs/zext insts and they don't have GVN assigned.
--
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/20151107/5c95ab3b/attachment.html>
More information about the llvm-bugs
mailing list