[cfe-commits] r48324 - /cfe/trunk/NOTES.txt
Anders Carlsson
andersca at mac.com
Wed Mar 12 20:45:48 PDT 2008
Author: andersca
Date: Wed Mar 12 22:45:48 2008
New Revision: 48324
URL: http://llvm.org/viewvc/llvm-project?rev=48324&view=rev
Log:
Add note about asm constraints.
Modified:
cfe/trunk/NOTES.txt
Modified: cfe/trunk/NOTES.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/NOTES.txt?rev=48324&r1=48323&r2=48324&view=diff
==============================================================================
--- cfe/trunk/NOTES.txt (original)
+++ cfe/trunk/NOTES.txt Wed Mar 12 22:45:48 2008
@@ -110,3 +110,27 @@
(1) If the user does not specify -triple, we default to the host triple.
(2) If the user specifies a -arch, that overrides the arch in the host or
specified triple.
+
+//===---------------------------------------------------------------------===//
+
+
+verifyInputConstraint and verifyOutputConstraint should not return bool.
+
+Instead we should return something like:
+
+enum VerifyConstraintResult {
+ Valid,
+
+ // Output only
+ OutputOperandConstraintLacksEqualsCharacter,
+ MatchingConstraintNotValidInOutputOperand,
+
+ // Input only
+ InputOperandConstraintContainsEqualsCharacter,
+ MatchingConstraintReferencesInvalidOperandNumber,
+
+ // Both
+ PercentConstraintUsedWithLastOperand
+};
+
+//===---------------------------------------------------------------------===//
More information about the cfe-commits
mailing list