Skip to content

Commit 6788a72

Browse files
jaladreipsigcbot
authored andcommitted
Add PayloadOperandNo to TraceRayAsyncHL intrinsic
Add PayloadOperandNo to TraceRayAsyncHL intrinsic
1 parent d909152 commit 6788a72

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

IGC/GenISAIntrinsics/GenIntrinsicInst.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1286,7 +1286,9 @@ class TraceRayAsyncHLIntrinsic : public ContinuationHLIntrinsic {
12861286
Value *getTMin() const { return getOperand(14); }
12871287
Value *getTMax() const { return getOperand(15); }
12881288
void setTMax(Value *V) { setOperand(15, V); }
1289-
Value *getPayload() const { return getOperand(16); }
1289+
static constexpr unsigned PayloadOperandNo = 16;
1290+
Value *getPayload() const { return getOperand(PayloadOperandNo); }
1291+
void setPayload(Value *V) { setOperand(PayloadOperandNo, V); }
12901292
Value *getComparisonValue() const { return getOperand(17); }
12911293
Value *getInternalRayFlags() const { return getOperand(18); }
12921294
Value *getExtraPipelineFlags() const { return getOperand(19); }

0 commit comments

Comments
 (0)