[llvm-branch-commits] [llvm-branch] r93437 - /llvm/branches/Apple/Zoidberg/lib/Target/ARM/ARMISelLowering.cpp

Jakob Stoklund Olesen stoklund at 2pi.dk
Thu Jan 14 10:21:30 PST 2010


Author: stoklund
Date: Thu Jan 14 12:21:29 2010
New Revision: 93437

URL: http://llvm.org/viewvc/llvm-project?rev=93437&view=rev
Log:
Merge r93436

Modified:
    llvm/branches/Apple/Zoidberg/lib/Target/ARM/ARMISelLowering.cpp

Modified: llvm/branches/Apple/Zoidberg/lib/Target/ARM/ARMISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/Apple/Zoidberg/lib/Target/ARM/ARMISelLowering.cpp?rev=93437&r1=93436&r2=93437&view=diff

==============================================================================
--- llvm/branches/Apple/Zoidberg/lib/Target/ARM/ARMISelLowering.cpp (original)
+++ llvm/branches/Apple/Zoidberg/lib/Target/ARM/ARMISelLowering.cpp Thu Jan 14 12:21:29 2010
@@ -4248,10 +4248,10 @@
 ARMTargetLowering::getRegForInlineAsmConstraint(const std::string &Constraint,
                                                 EVT VT) const {
   if (Constraint.size() == 1) {
-    // GCC RS6000 Constraint Letters
+    // GCC ARM Constraint Letters
     switch (Constraint[0]) {
     case 'l':
-      if (Subtarget->isThumb1Only())
+      if (Subtarget->isThumb())
         return std::make_pair(0U, ARM::tGPRRegisterClass);
       else
         return std::make_pair(0U, ARM::GPRRegisterClass);





More information about the llvm-branch-commits mailing list