[llvm] [X86] Support 2nd EVEX compression described in X86CompressEVEX.cpp (PR #77202)
via llvm-commits
llvm-commits at lists.llvm.org
Sat Jan 6 08:14:11 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 61bb3d499a234f20b74e70a37a68c0c7d47eb5dc 5e62f4e48b5db4a1ca44c4acb2cb05e4526f8b2a -- llvm/utils/TableGen/X86CompressEVEXTablesEmitter.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/utils/TableGen/X86CompressEVEXTablesEmitter.cpp b/llvm/utils/TableGen/X86CompressEVEXTablesEmitter.cpp
index c519c07b24..8366d044eb 100644
--- a/llvm/utils/TableGen/X86CompressEVEXTablesEmitter.cpp
+++ b/llvm/utils/TableGen/X86CompressEVEXTablesEmitter.cpp
@@ -166,8 +166,7 @@ void X86CompressEVEXTablesEmitter::run(raw_ostream &OS) {
for (const CodeGenInstruction *Inst : PreCompressionInsts) {
const Record *Rec = Inst->TheDef;
- uint8_t Opcode =
- byteFromBitsInit(Rec->getValueAsBitsInit("Opcode"));
+ uint8_t Opcode = byteFromBitsInit(Rec->getValueAsBitsInit("Opcode"));
StringRef Name = Rec->getName();
const CodeGenInstruction *NewInst = nullptr;
if (ManualMap.find(Name) != ManualMap.end()) {
``````````
</details>
https://github.com/llvm/llvm-project/pull/77202
More information about the llvm-commits
mailing list