[llvm] [TableGen][DecoderEmitter] Factor populateFixedLenEncoding (NFC) (PR #154511)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 20 03:57:59 PDT 2025
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 HEAD~1 HEAD --extensions cpp -- llvm/utils/TableGen/DecoderEmitter.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/utils/TableGen/DecoderEmitter.cpp b/llvm/utils/TableGen/DecoderEmitter.cpp
index 3e9a48998..1962055fb 100644
--- a/llvm/utils/TableGen/DecoderEmitter.cpp
+++ b/llvm/utils/TableGen/DecoderEmitter.cpp
@@ -2044,8 +2044,7 @@ void InstructionEncoding::populateFixedLenEncoding(const BitsInit &Bits) {
StringRef SubOpName = SubArgDag->getArgNameStr(I);
OperandInfo SubOpInfo = getOpInfo(cast<DefInit>(Arg)->getDef());
- addOneOperandFields(EncodingDef, Bits, TiedNames, SubOpName,
- SubOpInfo);
+ addOneOperandFields(EncodingDef, Bits, TiedNames, SubOpName, SubOpInfo);
Operands.push_back(std::move(SubOpInfo));
}
continue;
``````````
</details>
https://github.com/llvm/llvm-project/pull/154511
More information about the llvm-commits
mailing list