[LLVMbugs] [Bug 1113] NEW: llvm-upgrade generating undefined operand
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Sun Jan 14 17:46:57 PST 2007
http://llvm.org/bugs/show_bug.cgi?id=1113
Summary: llvm-upgrade generating undefined operand
Product: tools
Version: trunk
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: llvm-upgrade
AssignedTo: unassignedbugs at nondot.org
ReportedBy: nicholas at mxc.ca
test/Regression/Transforms/ConstProp/float-to-ptr-cast.ll is failing. Here's the
error shown:
FAIL:
/home/nicholas/llvm/test/Regression/Transforms/ConstProp/float-to-ptr-cast.ll:
child process exited abnormally
llvm-as: <stdin>:3,0: Reference to an invalid definition: 'cast_upgrade2' of
type 'i64'
opt: Standard Input is empty!
llvm-dis: Standard Input is empty!
It's producing the following output:
define i32* %test1() {
%cast_upgrade1 = fptoui float 0.0 to i64
%X.pntr.s1.u0 = inttoptr i64 %cast_upgrade2 to i32*
ret i32* %X.pntr.s1.u0
}
define i32* %test2() {
ret i32* inttoptr( i64 fptoui(float 0.0 to i64) to i32*)
}
The bug is undefined %cast_upgrade2 when it should be %cast_upgrade1. This is a
very recent change (today).
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
More information about the llvm-bugs
mailing list