'g' is handled by the front-end.

llvm-svn: 29751
This commit is contained in:
Chris Lattner 2006-08-17 18:12:28 +00:00
parent 4a063c5ffb
commit dfb3f0591d
1 changed files with 0 additions and 4 deletions

View File

@ -4187,9 +4187,6 @@ X86TargetLowering::getConstraintType(char ConstraintLetter) const {
case 'S':
case 'D':
case 'c':
case 'g': //FIXME: This over-constrains g. It should be replaced by rmi in
// target independent code (I think this constraint is target
// independent)
return C_RegisterClass;
default: return TargetLowering::getConstraintType(ConstraintLetter);
}
@ -4221,7 +4218,6 @@ getRegClassForInlineAsmConstraint(const std::string &Constraint,
break;
case 'r': // GENERAL_REGS
case 'R': // LEGACY_REGS
case 'g':
if (VT == MVT::i32)
return make_vector<unsigned>(X86::EAX, X86::EDX, X86::ECX, X86::EBX,
X86::ESI, X86::EDI, X86::EBP, X86::ESP, 0);