[LLVMbugs] [Bug 4459] New: Stackifier asserts
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Fri Jun 26 09:21:09 PDT 2009
http://llvm.org/bugs/show_bug.cgi?id=4459
Summary: Stackifier asserts
Product: tools
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: llc
AssignedTo: unassignedbugs at nondot.org
ReportedBy: rafael.espindola at gmail.com
CC: llvmbugs at cs.uiuc.edu
Running llc -march=x86 on
---------------------------
declare double @ceil(double)
declare void @test(i32)
define void @test2() {
entry:
%0 = call double @ceil(double undef)
%1 = fptosi double %0 to i32
call void asm sideeffect "fistpl $0",
"=*m,{st},~{dirflag},~{fpsr},~{flags},~{st}"(i32* undef, double undef)
call void @test(i32 %1 )
unreachable
}
----------------------------
causes
/usr/local/espindola/llvm/llvm/lib/Target/X86/X86FloatingPoint.cpp:129:
void<unnamed>::FPS::moveToTop(unsigned int,
llvm::ilist_iterator<llvm::MachineInstr>): Assertion `RegMap[RegOnTop] <
StackTop' failed.
--
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