[LLVMbugs] [Bug 2339] New: Instcoombine infinitely cycles
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Sat May 17 12:11:22 PDT 2008
http://llvm.org/bugs/show_bug.cgi?id=2339
Summary: Instcoombine infinitely cycles
Product: libraries
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Scalar Optimizations
AssignedTo: unassignedbugs at nondot.org
ReportedBy: asl at math.spbu.ru
CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=1648)
--> (http://llvm.org/bugs/attachment.cgi?id=1648)
Bytecode in question
Consider attached testcase.
Typical output from opt -instcombine -debug is:
IC: Old = mul i32 %tmp162163, ptrtoint (i32* getelementptr (i32* null,
i32 1) to i32) ; <i32>:4 [#uses=1]
New = add i32 %tmp164, mul (i32 ptrtoint (i32* getelementptr (i32*
null, i32 1) to i32), i32 2) ; <i32>:<badref> [#uses=0]
IC: Old = add i32 %tmp164, mul (i32 ptrtoint (i32* getelementptr (i32*
null, i32 1) to i32), i32 2) ; <i32>:4 [#uses=1]
New = mul i32 ptrtoint (i32* getelementptr (i32* null, i32 1) to
i32), %tmp164165 ; <i32>:<badref> [#uses=0]
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list