aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-02-23 23:36:23 +0000
committerChris Lattner <sabre@nondot.org>2006-02-23 23:36:23 +0000
commit7ef24f977341a404b536510c5d400109ebffd39e (patch)
treef1c98b867226ae53c79141a3963968437536b922
parent434b40b42f915822871d26ab3eb13db36d2984a3 (diff)
add a new flag
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26340 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/InlineAsm.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/llvm/InlineAsm.h b/include/llvm/InlineAsm.h
index c1bd2d0177..7463e188a7 100644
--- a/include/llvm/InlineAsm.h
+++ b/include/llvm/InlineAsm.h
@@ -90,6 +90,10 @@ public:
/// there is an input constraint that is required to match it (e.g. "0").
bool hasMatchingInput;
+ /// isCommutative - This is set to true for a constraint that is commutative
+ /// with the next operand.
+ bool isCommutative;
+
/// Code - The constraint code, either the register name (in braces) or the
/// constraint letter/number.
std::vector<std::string> Codes;