diff options
author | Chris Lattner <sabre@nondot.org> | 2006-08-17 18:43:24 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-08-17 18:43:24 +0000 |
commit | 5ea7a68e15c8601b2806f84a0fb422918539f66a (patch) | |
tree | 81a3ccc13125ea0ae85e23a5484e33afcf7f083c | |
parent | b5bc04d38aba1f86e9bc38b876eb7e3ea3aa0369 (diff) |
Revert this patch, the front-end has been fixed to make it unneccesary.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29752 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/X86/X86ISelLowering.cpp | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/lib/Target/X86/X86ISelLowering.cpp b/lib/Target/X86/X86ISelLowering.cpp index 7a47959934..4f1feb1c61 100644 --- a/lib/Target/X86/X86ISelLowering.cpp +++ b/lib/Target/X86/X86ISelLowering.cpp @@ -4184,9 +4184,6 @@ X86TargetLowering::getConstraintType(char ConstraintLetter) const { case 'Q': case 'x': case 'Y': - case 'S': - case 'D': - case 'c': return C_RegisterClass; default: return TargetLowering::getConstraintType(ConstraintLetter); } @@ -4200,18 +4197,6 @@ getRegClassForInlineAsmConstraint(const std::string &Constraint, // FIXME: not handling MMX registers yet ('y' constraint). switch (Constraint[0]) { // GCC X86 Constraint Letters default: break; // Unknown constraint letter - case 'S': // ESI - if (VT == MVT::i32) - return make_vector<unsigned>(X86::ESI,0); - break; - case 'D': // EDI - if (VT == MVT::i32) - return make_vector<unsigned>(X86::EDI,0); - break; - case 'c': // ECX - if (VT == MVT::i32) - return make_vector<unsigned>(X86::ECX, 0); - break; case 'A': // EAX/EDX if (VT == MVT::i32 || VT == MVT::i64) return make_vector<unsigned>(X86::EAX, X86::EDX, 0); |