aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNuno Lopes <nunoplopes@sapo.pt>2009-12-16 14:28:21 +0000
committerNuno Lopes <nunoplopes@sapo.pt>2009-12-16 14:28:21 +0000
commitaa8e36108ff523e3a8b8a28fa9d95a9f1dcf0732 (patch)
tree6356664853211a43ac94973ec72f412f09dc7a3a
parent9a84ac24833942bae83a90c44fe7d4937b3e6c3c (diff)
fix PR5689: add support for 'o' and 'V' asm input operands
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91540 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Basic/TargetInfo.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Basic/TargetInfo.cpp b/lib/Basic/TargetInfo.cpp
index a1f97f4eeb..493beeea6d 100644
--- a/lib/Basic/TargetInfo.cpp
+++ b/lib/Basic/TargetInfo.cpp
@@ -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.