[clang] [llvm] [X86][AMX] Support AMX-TF32 (PR #115625)

via cfe-commits cfe-commits at lists.llvm.org
Sat Nov 9 19:35:51 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 0ac4821b718dd14e80d3856efa532d52df6878bb 556c19502b877c2ffa918047517553521bf287af --extensions h,c,cpp -- clang/lib/Headers/amxtf32intrin.h clang/lib/Headers/amxtf32transposeintrin.h clang/test/CodeGen/X86/amx_tf32.c clang/test/CodeGen/X86/amx_tf32_api.c clang/test/CodeGen/X86/amx_tf32_errors.c clang/test/CodeGen/X86/amx_tf32_inline_asm.c clang/lib/Basic/Targets/X86.cpp clang/lib/Basic/Targets/X86.h clang/lib/Headers/immintrin.h clang/lib/Sema/SemaX86.cpp clang/test/Driver/x86-target-features.c clang/test/Preprocessor/x86_target_features.c llvm/lib/Target/X86/X86ExpandPseudo.cpp llvm/lib/Target/X86/X86ISelLowering.cpp llvm/lib/Target/X86/X86LowerAMXType.cpp llvm/lib/Target/X86/X86RegisterInfo.cpp llvm/lib/TargetParser/Host.cpp llvm/lib/TargetParser/X86TargetParser.cpp
``````````

</details>

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

``````````diff
diff --git a/llvm/lib/Target/X86/X86ISelLowering.cpp b/llvm/lib/Target/X86/X86ISelLowering.cpp
index b01a60e31a..8597ccd2a3 100644
--- a/llvm/lib/Target/X86/X86ISelLowering.cpp
+++ b/llvm/lib/Target/X86/X86ISelLowering.cpp
@@ -37489,7 +37489,7 @@ X86TargetLowering::EmitInstrWithCustomInserter(MachineInstr &MI,
     case X86::PTDPHF8PS: Opc = X86::TDPHF8PS; break;
     case X86::PTMMULTF32PS: Opc = X86::TMMULTF32PS; break;
     case X86::PTTMMULTF32PS: Opc = X86::TTMMULTF32PS; break;
-    // clang-format on
+      // clang-format on
     }
 
     MachineInstrBuilder MIB = BuildMI(*BB, MI, MIMD, TII->get(Opc));

``````````

</details>


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


More information about the cfe-commits mailing list