[llvm] [DirectX] Implement typedBufferLoad_checkbit (PR #108087)

via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 10 14:06:48 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 0f56ba13bff7ab72bfafcf7c5cf9e5b8bd16d895 939d2f438e70405885a9989740bf521fb401d631 --extensions cpp -- llvm/lib/Target/DirectX/DXILOpLowering.cpp
``````````

</details>

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

``````````diff
diff --git a/llvm/lib/Target/DirectX/DXILOpLowering.cpp b/llvm/lib/Target/DirectX/DXILOpLowering.cpp
index 572766eb08..d98d0bfde0 100644
--- a/llvm/lib/Target/DirectX/DXILOpLowering.cpp
+++ b/llvm/lib/Target/DirectX/DXILOpLowering.cpp
@@ -296,8 +296,7 @@ public:
         }
       }
 
-      OldResult =
-          cast<Instruction>(IRB.CreateExtractValue(Op, 0));
+      OldResult = cast<Instruction>(IRB.CreateExtractValue(Op, 0));
       OldTy = ST->getElementType(0);
     }
 

``````````

</details>


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


More information about the llvm-commits mailing list