diff options
author | Neubauer, Sebastian <Sebastian.Neubauer@amd.com> | 2021-11-11 15:58:42 +0100 |
---|---|---|
committer | Neubauer, Sebastian <Sebastian.Neubauer@amd.com> | 2021-11-12 11:37:21 +0100 |
commit | d1f45ed58f3a7bdca69b93f548682754dd67d80f (patch) | |
tree | 459d91e63fe0c64de4b1d3b33f5cb6f1681d0cc0 /llvm/lib/Target/AMDGPU/SILowerControlFlow.cpp | |
parent | 5dfe60d171d7f7ebb33c53170cc4182dba22a7b4 (diff) | |
download | llvm-d1f45ed58f3a7bdca69b93f548682754dd67d80f.zip llvm-d1f45ed58f3a7bdca69b93f548682754dd67d80f.tar.gz llvm-d1f45ed58f3a7bdca69b93f548682754dd67d80f.tar.bz2 |
[AMDGPU][NFC] Fix typos
Differential Revision: https://reviews.llvm.org/D113672
Diffstat (limited to 'llvm/lib/Target/AMDGPU/SILowerControlFlow.cpp')
-rw-r--r-- | llvm/lib/Target/AMDGPU/SILowerControlFlow.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/lib/Target/AMDGPU/SILowerControlFlow.cpp b/llvm/lib/Target/AMDGPU/SILowerControlFlow.cpp index ec89de2..3168bcd 100644 --- a/llvm/lib/Target/AMDGPU/SILowerControlFlow.cpp +++ b/llvm/lib/Target/AMDGPU/SILowerControlFlow.cpp @@ -13,7 +13,7 @@ /// All control flow is handled using predicated instructions and /// a predicate stack. Each Scalar ALU controls the operations of 64 Vector /// ALUs. The Scalar ALU can update the predicate for any of the Vector ALUs -/// by writting to the 64-bit EXEC register (each bit corresponds to a +/// by writing to the 64-bit EXEC register (each bit corresponds to a /// single vector ALU). Typically, for predicates, a vector ALU will write /// to its bit of the VCC register (like EXEC VCC is 64-bits, one for each /// Vector ALU) and then the ScalarALU will AND the VCC register with the @@ -38,7 +38,8 @@ /// %vgpr0 = V_ADD_F32 %vgpr0, %vgpr0 // Do the IF block of the branch /// /// label0: -/// %sgpr0 = S_OR_SAVEEXEC_B64 %sgpr0 // Restore the exec mask for the Then block +/// %sgpr0 = S_OR_SAVEEXEC_B64 %sgpr0 // Restore the exec mask for the Then +/// // block /// %exec = S_XOR_B64 %sgpr0, %exec // Update the exec mask /// S_BRANCH_EXECZ label1 // Use our branch optimization /// // instruction again. |