Created attachment 1609 [details] Bytecode Consider attached bytecode. $ ./llc bugpoint-reduced-simplified.bc llc: /home/asl/proj/llvm/src/lib/Target/X86/X86FloatingPoint.cpp:975: void<unnamed>::FPS::handleSpecialFP(llvm::ilist_iterator<llvm::MachineInstr>&): Assertion `StackTop == 1 && "Stack should have one element on it to return!"' failed. ./llc[0x878a1ad] /lib/libc.so.6(abort+0xe8)[0xb7c687e8] /lib/libc.so.6(__assert_fail+0xdf)[0xb7c6040f] ./llc[0x82a9f66]
Created attachment 1610 [details] Another bytecode I think there is different testcase for the same problem (assertion message is different though)
We can't handle inline asm with x87 instructions.
I can not reproduce this with r72485. Fixed ?
Yep, probably fixed by Rafael