[AMDGPU] Fix AMDGPUISD::TRAP description (#117453)
Glue operand is only present if there are variadic register operands, which makes it optional. Also, change the number of fixed operands to 1 (the trap ID).
This commit is contained in:
committed by
GitHub
parent
215f3dd5f6
commit
8d650736c1
@@ -100,8 +100,8 @@ def AMDGPUtc_return_chain: SDNode<"AMDGPUISD::TC_RETURN_CHAIN",
|
||||
>;
|
||||
|
||||
def AMDGPUtrap : SDNode<"AMDGPUISD::TRAP",
|
||||
SDTypeProfile<0, -1, [SDTCisVT<0, i16>]>,
|
||||
[SDNPHasChain, SDNPVariadic, SDNPSideEffect, SDNPInGlue]
|
||||
SDTypeProfile<0, 1, [SDTCisVT<0, i16>]>,
|
||||
[SDNPHasChain, SDNPVariadic, SDNPSideEffect, SDNPOptInGlue]
|
||||
>;
|
||||
|
||||
def AMDGPUconstdata_ptr : SDNode<
|
||||
|
||||
Reference in New Issue
Block a user