]> granicus.if.org Git - clang/commitdiff
fix PR5689: add support for 'o' and 'V' asm input operands
authorNuno Lopes <nunoplopes@sapo.pt>
Wed, 16 Dec 2009 14:28:21 +0000 (14:28 +0000)
committerNuno Lopes <nunoplopes@sapo.pt>
Wed, 16 Dec 2009 14:28:21 +0000 (14:28 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91540 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Basic/TargetInfo.cpp

index a1f97f4eeb24e181cb49b7c72b91f8731178d8a1..493beeea6dc5dbed0cfad9e7b64cb29773b3af9e 100644 (file)
@@ -360,6 +360,8 @@ bool TargetInfo::validateInputConstraint(ConstraintInfo *OutputConstraints,
       Info.setAllowsRegister();
       break;
     case 'm': // memory operand.
+    case 'o': // offsettable memory operand
+    case 'V': // non-offsettable memory operand
       Info.setAllowsMemory();
       break;
     case 'g': // general register, memory operand or immediate integer.