diff options
author | Chris Lattner <sabre@nondot.org> | 2007-09-24 05:27:37 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-09-24 05:27:37 +0000 |
commit | 9b4baf169299141692e07adedeff691b71e95fda (patch) | |
tree | 4c1b6e66ccc3d2f4a421348c2b461789d3364ef3 | |
parent | 9251f13b551f2b2c589220f4c238fbe878d0bdef (diff) | |
download | external_llvm-9b4baf169299141692e07adedeff691b71e95fda.zip external_llvm-9b4baf169299141692e07adedeff691b71e95fda.tar.gz external_llvm-9b4baf169299141692e07adedeff691b71e95fda.tar.bz2 |
claim that "st" is from the 80-bit register file. This causes x87-using inline
asm to die with:
ScheduleDAG.cpp:269: failed assertion `false && "Couldn't find the register class"'
instead of:
failed assertion `RegMap->getRegClass(VReg) == RC && "Register class of operand and regclass of use don't agree!"'
yay.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42259 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/X86/X86ISelLowering.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/X86/X86ISelLowering.cpp b/lib/Target/X86/X86ISelLowering.cpp index e52b653..1e5e478 100644 --- a/lib/Target/X86/X86ISelLowering.cpp +++ b/lib/Target/X86/X86ISelLowering.cpp @@ -5279,7 +5279,7 @@ X86TargetLowering::getRegForInlineAsmConstraint(const std::string &Constraint, // GCC calls "st(0)" just plain "st". if (StringsEqualNoCase("{st}", Constraint)) { Res.first = X86::ST0; - Res.second = X86::RSTRegisterClass; + Res.second = X86::RFP80RegisterClass; } return Res; |