[LLVMbugs] [Bug 6503] New: ice: replaceAllUses of value with new value of different type!
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Thu Mar 4 20:29:13 PST 2010
http://llvm.org/bugs/show_bug.cgi?id=6503
Summary: ice: replaceAllUses of value with new value of
different type!
Product: new-bugs
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P5
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: regehr at cs.utah.edu
CC: llvmbugs at cs.uiuc.edu, chenyang at cs.utah.edu
Created an attachment (id=4394)
--> (http://llvm.org/bugs/attachment.cgi?id=4394)
failure-inducing input
Seen on x86.
regehr at john-home:~/volatile/bugs/tmp274$ clang -v
clang version 1.1 (trunk)
Target: i386-pc-linux-gnu
Thread model: posix
regehr at john-home:~/volatile/bugs/tmp274$ clang -O2 small.c
clang: Value.cpp:317: void llvm::Value::replaceAllUsesWith(llvm::Value*):
Assertion `New->getType() == getType() && "replaceAllUses of value with new
value of different type!"' failed.
0 clang 0x08edbe18
Stack dump:
0. Program arguments:
/home/regehr/z/compiler-install/llvm-gcc-r97760-install/bin/clang -cc1 -triple
i386-pc-linux-gnu -S -disable-free -main-file-name small.c -mrelocation-model
static -mdisable-fp-elim -mconstructor-aliases -target-cpu pentium4
-resource-dir
/home/regehr/z/compiler-install/llvm-gcc-r97760-install/lib/clang/1.1 -O2
-fmessage-length 85 -fgnu-runtime -fdiagnostics-show-option -fcolor-diagnostics
-o /tmp/cc-mau7RF.s -x c small.c
1. <eof> parser at end of file
2. Per-function optimization
3. Running pass 'Combine redundant instructions' on function '@int327'
clang: error: compiler command failed due to signal 6 (use -v to see
invocation)
regehr at john-home:~/volatile/bugs/tmp274$ clang small.c -emit-llvm -S
regehr at john-home:~/volatile/bugs/tmp274$ opt -O2 small.s -o /dev/null
opt: Value.cpp:317: void llvm::Value::replaceAllUsesWith(llvm::Value*):
Assertion `New->getType() == getType() && "replaceAllUses of value with new
value of different type!"' failed.
0 opt 0x084aaae8
Stack dump:
0. Program arguments: opt -O2 small.s -o /dev/null
1. Running pass 'Combine redundant instructions' on function '@int327'
Aborted
--
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