diff --git a/llvm/lib/Target/DirectX/DXIL.td b/llvm/lib/Target/DirectX/DXIL.td index fc60a80dcf114b..aaf094efc1fee7 100644 --- a/llvm/lib/Target/DirectX/DXIL.td +++ b/llvm/lib/Target/DirectX/DXIL.td @@ -949,6 +949,7 @@ def WaveActiveAnyTrue : DXILOp<113, waveAnyTrue> { let arguments = [Int1Ty]; let result = Int1Ty; let stages = [Stages]; + let properties = [IsWave]; } def WaveIsFirstLane : DXILOp<110, waveIsFirstLane> { @@ -957,6 +958,7 @@ def WaveIsFirstLane : DXILOp<110, waveIsFirstLane> { let arguments = []; let result = Int1Ty; let stages = [Stages]; + let properties = [IsWave]; } def WaveReadLaneAt: DXILOp<117, waveReadLaneAt> { @@ -966,6 +968,7 @@ def WaveReadLaneAt: DXILOp<117, waveReadLaneAt> { let result = OverloadTy; let overloads = [Overloads]; let stages = [Stages]; + let properties = [IsWave]; } def WaveGetLaneIndex : DXILOp<111, waveGetLaneIndex> { @@ -975,6 +978,7 @@ def WaveGetLaneIndex : DXILOp<111, waveGetLaneIndex> { let result = Int32Ty; let stages = [Stages]; let attributes = [Attributes]; + let properties = [IsWave]; } def WaveAllBitCount : DXILOp<135, waveAllOp> { @@ -983,6 +987,7 @@ def WaveAllBitCount : DXILOp<135, waveAllOp> { let arguments = [Int1Ty]; let result = Int32Ty; let stages = [Stages]; + let properties = [IsWave]; } def Barrier : DXILOp<80, barrier> { @@ -997,4 +1002,5 @@ def Barrier : DXILOp<80, barrier> { let result = VoidTy; let stages = [Stages]; let attributes = [Attributes]; + let properties = [IsBarrier]; }