[llvm] [GISEL] Add G_VSCALE instruction (PR #84542)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 8 11:28:34 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 9405d5af65853ac548cce2656497195010db1d86 e5178b8e78b90d617ed8e1c20d992b6d6eb6a8c5 -- llvm/include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h llvm/lib/CodeGen/GlobalISel/MachineIRBuilder.cpp llvm/lib/CodeGen/MachineVerifier.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/lib/CodeGen/GlobalISel/MachineIRBuilder.cpp b/llvm/lib/CodeGen/GlobalISel/MachineIRBuilder.cpp
index d63f2d6281..11c45636da 100644
--- a/llvm/lib/CodeGen/GlobalISel/MachineIRBuilder.cpp
+++ b/llvm/lib/CodeGen/GlobalISel/MachineIRBuilder.cpp
@@ -793,8 +793,8 @@ MachineInstrBuilder MachineIRBuilder::buildInsert(const DstOp &Res,
return buildInstr(TargetOpcode::G_INSERT, Res, {Src, Op, uint64_t(Index)});
}
-MachineInstrBuilder
-MachineIRBuilder::buildVScale(const DstOp &Res, unsigned MinElts) {
+MachineInstrBuilder MachineIRBuilder::buildVScale(const DstOp &Res,
+ unsigned MinElts) {
return buildInstr(TargetOpcode::G_VSCALE, {Res}, {uint64_t(MinElts)});
}
``````````
</details>
https://github.com/llvm/llvm-project/pull/84542
More information about the llvm-commits
mailing list