File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed
Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -110,3 +110,27 @@ The "selection of target" behavior is defined as follows:
110110(1) If the user does not specify -triple, we default to the host triple.
111111(2) If the user specifies a -arch, that overrides the arch in the host or
112112 specified triple.
113+
114+ //===---------------------------------------------------------------------===//
115+
116+
117+ verifyInputConstraint and verifyOutputConstraint should not return bool.
118+
119+ Instead we should return something like:
120+
121+ enum VerifyConstraintResult {
122+ Valid,
123+
124+ // Output only
125+ OutputOperandConstraintLacksEqualsCharacter,
126+ MatchingConstraintNotValidInOutputOperand,
127+
128+ // Input only
129+ InputOperandConstraintContainsEqualsCharacter,
130+ MatchingConstraintReferencesInvalidOperandNumber,
131+
132+ // Both
133+ PercentConstraintUsedWithLastOperand
134+ };
135+
136+ //===---------------------------------------------------------------------===//
You can’t perform that action at this time.
0 commit comments