[clang] [llvm] [HLSL] Implement `WaveReadLaneAt` intrinsics (PR #110739)
via cfe-commits
cfe-commits at lists.llvm.org
Tue Oct 1 13:58:27 PDT 2024
github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {clang-format}-->
:warning: C/C++ code formatter, clang-format found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
git-clang-format --diff f3c408d1726f6a921212faf68085f68bf8533f0c 0320a5acec2565608cb91b271f6cda49fc364bb7 --extensions cpp,h -- clang/lib/CodeGen/CGBuiltin.cpp clang/lib/CodeGen/CGHLSLRuntime.h clang/lib/Headers/hlsl/hlsl_intrinsics.h clang/lib/Sema/SemaHLSL.cpp llvm/lib/Target/DirectX/DXILOpBuilder.cpp llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp llvm/utils/TableGen/DXILEmitter.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/clang/lib/Headers/hlsl/hlsl_intrinsics.h b/clang/lib/Headers/hlsl/hlsl_intrinsics.h
index f3707d8076..a7bdc353ae 100644
--- a/clang/lib/Headers/hlsl/hlsl_intrinsics.h
+++ b/clang/lib/Headers/hlsl/hlsl_intrinsics.h
@@ -2020,7 +2020,7 @@ __attribute__((convergent)) bool WaveIsFirstLane();
template <typename T>
_HLSL_AVAILABILITY(shadermodel, 6.0)
_HLSL_BUILTIN_ALIAS(__builtin_hlsl_wave_read_lane_at)
-__attribute__((convergent)) T WaveReadLaneAt(T, int32_t);
+ __attribute__((convergent)) T WaveReadLaneAt(T, int32_t);
//===----------------------------------------------------------------------===//
// sign builtins
``````````
</details>
https://github.com/llvm/llvm-project/pull/110739
More information about the cfe-commits
mailing list