Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
asl opened this issue Apr 28, 2008 · 4 comments
Closed

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

asl opened this issue Apr 28, 2008 · 4 comments
Labels
backend:X86 bugzilla Issues migrated from bugzilla

Comments

@asl
Copy link
Collaborator

asl commented Apr 28, 2008

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

@edwintorok
Copy link
Contributor

*** Bug llvm/llvm-bugzilla-archive#2269 has been marked as a duplicate of this bug. ***

@pwo
Copy link

pwo commented May 27, 2009

I can not reproduce this with r72485. Fixed ?

@lattner
Copy link
Collaborator

lattner commented Jan 1, 2010

Yep, looks fixed.

@edwintorok
Copy link
Contributor

mentioned in issue llvm/llvm-bugzilla-archive#2269

@llvmbot llvmbot transferred this issue from llvm/llvm-bugzilla-archive Dec 3, 2021
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend:X86 bugzilla Issues migrated from bugzilla
Projects
None yet
Development

No branches or pull requests

4 participants