[clang] [llvm] Add support for flag output operand "=@cc" for SystemZ. (PR #125970)

Ulrich Weigand via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 28 08:54:20 PDT 2025


================
@@ -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


More information about the llvm-commits mailing list