diff options
author | Anders Carlsson <andersca@mac.com> | 2008-03-13 03:45:48 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@mac.com> | 2008-03-13 03:45:48 +0000 |
commit | 3de54ffeb037a7af037f3089e4cd4e917ce7b3ca (patch) | |
tree | ba3f083736829c9161c376e7520ca1a98d071a34 /NOTES.txt | |
parent | 4102af916d52310c3deedd84d6fd5e2fd3c09bfe (diff) |
Add note about asm constraints.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@48324 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'NOTES.txt')
-rw-r--r-- | NOTES.txt | 24 |
1 files changed, 24 insertions, 0 deletions
@@ -110,3 +110,27 @@ The "selection of target" behavior is defined as follows: (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 +}; + +//===---------------------------------------------------------------------===// |