https://bugs.llvm.org/show_bug.cgi?id=33731
Bug ID: 33731
Summary: [opt; GVN] input program causes "Instruction does not
dominate uses" error
Product: new-bugs
Version: 4.0
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: new bugs
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Created attachment 18772
--> https://bugs.llvm.org/attachment.cgi?id=18772&action=edit
reproduce the instruction does not dominate uses bug
See the attached reproducer. To recreate the problem:
% opt -verify reduced.bc -o /dev/null
% opt -gvn reduced.bc -o /dev/null
Instruction does not dominate all uses!
%.pre = sext i32 %1 to i64
%6 = mul i64 %.pre, 4
LLVM ERROR: Broken function found, compilation aborted!
% opt -version
LLVM (http://llvm.org/):
LLVM version 4.0.1
DEBUG build with assertions.
Default target: x86_64-unknown-linux-gnu
Host CPU: haswell
--
You are receiving this mail because:
You are on the CC list for the bug._______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs