Skip to content

getCopyRegToReg() does not support ST(1) as dest register #2627

Closed
@asl

Description

@asl
Bugzilla Link 2255
Resolution FIXED
Resolved on Jan 01, 2010 12:45
Version trunk
OS Linux
Attachments Test bytecode
CC @edwintorok,@pwo

Extended Description

Consider attached testcase. I'm having:

llc: /home/asl/proj/llvm/src/lib/Target/X86/X86InstrInfo.cpp:1593: virtual void llvm::X86InstrInfo::copyRegToReg(llvm::MachineBasicBlock&, llvm::ilist_iteratorllvm::MachineInstr, unsigned int, unsigned int, const llvm::TargetRegisterClass*, const llvm::TargetRegisterClass*) const: Assertion `DestReg == X86::ST0 && "Can only copy to TOS right now"' failed.

This currently prevents mingw64 CRT bootstrap with llvm-gcc

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions