From aa8e36108ff523e3a8b8a28fa9d95a9f1dcf0732 Mon Sep 17 00:00:00 2001 From: Nuno Lopes Date: Wed, 16 Dec 2009 14:28:21 +0000 Subject: [PATCH] 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 --- lib/Basic/TargetInfo.cpp | 2 ++ 1 file changed, 2 insertions(+) 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.