[LLVMbugs] [Bug 1933] New: Invalid remainder instcombine
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Sat Jan 19 21:31:24 PST 2008
http://llvm.org/bugs/show_bug.cgi?id=1933
Summary: Invalid remainder instcombine
Product: new-bugs
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P2
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: sharparrow1 at yahoo.com
CC: llvmbugs at cs.uiuc.edu
define i32 @fold(i32 %a) {
%s = mul i32 %a, 3
%c = urem i32 %s, 3
ret i32 %c
}
using opt -std-compile-opts folds to
define i32 @fold(i32 %a) nounwind {
ret i32 0
}
This is wrong! For example, try @fold(i32 2863311531).
--
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