================ @@ -692,36 +692,42 @@ def : GCNPat< (SI_TCRETURN_GFX Gfx_CCR_SGPR_64:$src0, (i64 0), i32imm:$fpdiff) >; -// Pseudo for the llvm.amdgcn.cs.chain intrinsic. -// This is essentially a tail call, but it also takes a mask to put in EXEC -// right before jumping to the callee. -class SI_CS_CHAIN_TC< +// Pseudos for the llvm.amdgcn.cs.chain intrinsic. +multiclass SI_CS_CHAIN_TC< ValueType execvt, Predicate wavesizepred, - RegisterOperand execrc = getSOPSrcForVT<execvt>.ret> - : SPseudoInstSI <(outs), - (ins CCR_SGPR_64:$src0, unknown:$callee, i32imm:$fpdiff, execrc:$exec)> { - let FixedSize = 0; - let isCall = 1; - let isTerminator = 1; - let isBarrier = 1; - let isReturn = 1; - let UseNamedOperandTable = 1; - let SchedRW = [WriteBranch]; - let isConvergent = 1; - - let WaveSizePredicate = wavesizepred; -} - -def SI_CS_CHAIN_TC_W32 : SI_CS_CHAIN_TC<i32, isWave32>; -def SI_CS_CHAIN_TC_W64 : SI_CS_CHAIN_TC<i64, isWave64>; + RegisterOperand execrc = getSOPSrcForVT<execvt>.ret> { + let FixedSize = 0, ---------------- arsenm wrote:
Bad indent https://github.com/llvm/llvm-project/pull/130094 _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits