[llvm] [SandboxIR] Add tracking for ShuffleVectorInst::commute. (PR #106644)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 3 09:56:19 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 a8e1c6f99abc273677afed5eaaeee2c0296db59f f1405704e26efbb2eaf7c94b83a7be3ffd8c02ea --extensions cpp,h -- llvm/include/llvm/SandboxIR/SandboxIR.h llvm/lib/SandboxIR/SandboxIR.cpp llvm/unittests/SandboxIR/TrackerTest.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/lib/SandboxIR/SandboxIR.cpp b/llvm/lib/SandboxIR/SandboxIR.cpp
index 7b91a28d5e..f95ced880d 100644
--- a/llvm/lib/SandboxIR/SandboxIR.cpp
+++ b/llvm/lib/SandboxIR/SandboxIR.cpp
@@ -2181,8 +2181,8 @@ void ShuffleVectorInst::setShuffleMask(ArrayRef<int> Mask) {
}
VectorType *ShuffleVectorInst::getType() const {
- return cast<VectorType>(
- Ctx.getType(cast<llvm::ShuffleVectorInst>(Val)->getType()));
+ return cast<VectorType>(
+ Ctx.getType(cast<llvm::ShuffleVectorInst>(Val)->getType()));
}
void ShuffleVectorInst::commute() {
``````````
</details>
https://github.com/llvm/llvm-project/pull/106644
More information about the llvm-commits
mailing list