================
@@ -1514,10 +1516,21 @@ SystemZTargetLowering::getConstraintType(StringRef
Constraint) const {
default:
break;
}
+ } else if (Constraint.size() == 5 && Constraint.starts_with("{")) {
+ if (StringRef("{@cc}").compare(Constraint) == 0)
+ return C_Other;
}
return TargetLowering::getConstraintType(Constraint);
}
+// Convert condition code in CCReg to an i32 value.
+static SDValue getCCResult(SelectionDAG &DAG, SDValue CCReg) {
----------------
uweigand wrote:
Just a minor nit, but this ended up in a weird place now. Why not just move it
to directly before the `LowerAsmOutputForConstraint` routine?
https://github.com/llvm/llvm-project/pull/125970
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits