Skip to content

Commit 35ed3ca

Browse files
committed
Add a note in AMDGPUUsage
1 parent 2b7f942 commit 35ed3ca

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

llvm/docs/AMDGPUUsage.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1402,6 +1402,10 @@ The AMDGPU backend implements the following LLVM IR intrinsics.
14021402
performs subtraction only if the memory value is greater than or
14031403
equal to the data value.
14041404

1405+
llvm.amdgcn.s.barrier.signal.isfirst Provides access to the s_barrier_signal_first instruction;
1406+
additionally ensures that the result value is valid even when the
1407+
intrinsic is used from a wave that is not running in a workgroup.
1408+
14051409
llvm.amdgcn.s.getpc Provides access to the s_getpc_b64 instruction, but with the return value
14061410
sign-extended from the width of the underlying PC hardware register even on
14071411
processors where the s_getpc_b64 instruction returns a zero-extended value.

0 commit comments

Comments
 (0)