================
@@ -1211,6 +1211,15 @@ class TargetInfo : public TransferrableTargetInfo,
TiedOperand = N;
// Don't copy Name or constraint string.
}
+
+ // Output operand bounds can be set by target.
+ void setOutputOperandBounds(unsigned Min, unsigned Max) {
+ setRequiresImmediate(Min, Max);
----------------
uweigand wrote:
This probably shouldn't set the `CI_Immediate` flag. Maybe simply set the
Min/Max/isConstrained fields directly here.
https://github.com/llvm/llvm-project/pull/125970
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits