summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/X86/X86ISelLowering.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-02-22 00:56:39 +0000
committerChris Lattner <sabre@nondot.org>2006-02-22 00:56:39 +0000
commit7ad77dfc2add2ccfe65318a984ee17435bc02a3c (patch)
treef2ea5616f40a850e8c81d941533672ae7eb751b4 /llvm/lib/Target/X86/X86ISelLowering.cpp
parentcd78df1e85a9993b7c9f3a44888eead2195a5161 (diff)
downloadbcm5719-llvm-7ad77dfc2add2ccfe65318a984ee17435bc02a3c.tar.gz
bcm5719-llvm-7ad77dfc2add2ccfe65318a984ee17435bc02a3c.zip
split register class handling from explicit physreg handling.
llvm-svn: 26308
Diffstat (limited to 'llvm/lib/Target/X86/X86ISelLowering.cpp')
-rw-r--r--llvm/lib/Target/X86/X86ISelLowering.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/llvm/lib/Target/X86/X86ISelLowering.cpp b/llvm/lib/Target/X86/X86ISelLowering.cpp
index bbf590b8ac3..e32cc0f2bd8 100644
--- a/llvm/lib/Target/X86/X86ISelLowering.cpp
+++ b/llvm/lib/Target/X86/X86ISelLowering.cpp
@@ -1961,8 +1961,8 @@ void X86TargetLowering::computeMaskedBitsForTargetNode(const SDOperand Op,
}
std::vector<unsigned> X86TargetLowering::
-getRegForInlineAsmConstraint(const std::string &Constraint,
- MVT::ValueType VT) const {
+getRegClassForInlineAsmConstraint(const std::string &Constraint,
+ MVT::ValueType VT) const {
if (Constraint.size() == 1) {
// FIXME: not handling fp-stack yet!
// FIXME: not handling MMX registers yet ('y' constraint).
@@ -1993,6 +1993,5 @@ getRegForInlineAsmConstraint(const std::string &Constraint,
}
}
- // Handle explicit register names.
- return TargetLowering::getRegForInlineAsmConstraint(Constraint, VT);
+ return std::vector<unsigned>();
}
OpenPOWER on IntegriCloud