[LLVMdev] Crash after your recent commits
Duncan Sands
baldrick at free.fr
Tue Nov 27 02:17:20 PST 2012
Hi Meador, this buildbot started failing last night and I think it was
probably you!
http://lab.llvm.org:8011/builders/dragonegg-x86_64-linux-gcc-4.6-test/builds/887
Here's a testcase. You can reproduce with "opt -instcombine". (The problem is
that the code isn't expecting printf to return void).
Ciao, Duncan.
@.cst = linker_private unnamed_addr constant [8 x i8] c"A::A()\0A\00", align 8
define void @main() {
call void (i8*, ...)* @printf(i8* getelementptr inbounds ([8 x i8]* @.cst,
i64 0, i64 0))
ret void
}
declare void @printf(i8* nocapture, ...) nounwind
More information about the llvm-dev
mailing list