[clang] [llvm] [HLSL][SPIR-V] Add create.handle intrinsic (PR #81038)

via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 7 13:08:41 PST 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 dd22140e21f2ef51cf031354966a3d41c191c6e7 5f5106478cc21b463eca9820a56b6c236e182afe -- clang/lib/Basic/Targets/SPIR.h llvm/lib/IR/Function.cpp llvm/lib/TargetParser/Triple.cpp
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/llvm/lib/TargetParser/Triple.cpp b/llvm/lib/TargetParser/Triple.cpp
index 96dbd5ca67..fc4eb5767b 100644
--- a/llvm/lib/TargetParser/Triple.cpp
+++ b/llvm/lib/TargetParser/Triple.cpp
@@ -188,7 +188,8 @@ StringRef Triple::getArchTypePrefix(ArchType Kind) {
 
   case spirv:
   case spirv32:
-  case spirv64:     return "spv";
+  case spirv64:
+    return "spv";
 
   case kalimba:     return "kalimba";
   case lanai:       return "lanai";

``````````

</details>


https://github.com/llvm/llvm-project/pull/81038


More information about the cfe-commits mailing list