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 origin/main HEAD --extensions h,c,inc,cpp -- 
clang/lib/Basic/Targets/X86.cpp clang/lib/CodeGen/TargetBuiltins/X86.cpp 
clang/lib/Headers/amxintrin.h clang/lib/Headers/immintrin.h 
clang/lib/Sema/SemaX86.cpp 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/Driver/x86-target-features.c 
clang/test/Preprocessor/predefined-arch-macros.c 
clang/test/Preprocessor/x86_target_features.c 
llvm/include/llvm/CodeGen/TileShapeInfo.h 
llvm/include/llvm/Support/X86DisassemblerDecoderCommon.h 
llvm/lib/Target/X86/AsmParser/X86Operand.h 
llvm/lib/Target/X86/Disassembler/X86Disassembler.cpp 
llvm/lib/Target/X86/Disassembler/X86DisassemblerDecoder.h 
llvm/lib/Target/X86/MCTargetDesc/X86InstPrinterCommon.cpp 
llvm/lib/Target/X86/MCTargetDesc/X86InstPrinterCommon.h 
llvm/lib/Target/X86/X86ExpandPseudo.cpp 
llvm/lib/Target/X86/X86FastPreTileConfig.cpp 
llvm/lib/Target/X86/X86FastTileConfig.cpp 
llvm/lib/Target/X86/X86ISelDAGToDAG.cpp llvm/lib/Target/X86/X86ISelLowering.cpp 
llvm/lib/Target/X86/X86InstrInfo.cpp llvm/lib/Target/X86/X86LowerAMXType.cpp 
llvm/lib/Target/X86/X86PreTileConfig.cpp 
llvm/lib/Target/X86/X86RegisterInfo.cpp llvm/lib/Target/X86/X86TileConfig.cpp 
llvm/lib/TargetParser/Host.cpp llvm/lib/TargetParser/X86TargetParser.cpp 
llvm/test/TableGen/x86-instr-mapping.inc 
llvm/unittests/CodeGen/InstrRefLDVTest.cpp 
llvm/utils/TableGen/X86RecognizableInstr.cpp --diff_from_common_commit
``````````

:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:

</details>

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

``````````diff
diff --git a/llvm/lib/Target/X86/X86ExpandPseudo.cpp 
b/llvm/lib/Target/X86/X86ExpandPseudo.cpp
index c7e1d3e9d..1676acd7a 100644
--- a/llvm/lib/Target/X86/X86ExpandPseudo.cpp
+++ b/llvm/lib/Target/X86/X86ExpandPseudo.cpp
@@ -674,7 +674,9 @@ bool X86ExpandPseudo::expandMI(MachineBasicBlock &MBB,
     case X86::PTDPBUSDV:   Opc = X86::TDPBUSD; break;
     case X86::PTDPBUUDV:   Opc = X86::TDPBUUD; break;
     case X86::PTDPBF16PSV: Opc = X86::TDPBF16PS; break;
-    case X86::PTDPFP16PSV: Opc = X86::TDPFP16PS; break;
+    case X86::PTDPFP16PSV:
+      Opc = X86::TDPFP16PS;
+      break;
     case X86::PTMMULTF32PSV:
       Opc = X86::TMMULTF32PS;
       break;
diff --git a/llvm/lib/Target/X86/X86ISelLowering.cpp 
b/llvm/lib/Target/X86/X86ISelLowering.cpp
index 787f05ebf..a8850b358 100644
--- a/llvm/lib/Target/X86/X86ISelLowering.cpp
+++ b/llvm/lib/Target/X86/X86ISelLowering.cpp
@@ -38083,7 +38083,9 @@ 
X86TargetLowering::EmitInstrWithCustomInserter(MachineInstr &MI,
     case X86::PTDPBF8PS: Opc = X86::TDPBF8PS; break;
     case X86::PTDPBHF8PS: Opc = X86::TDPBHF8PS; break;
     case X86::PTDPHBF8PS: Opc = X86::TDPHBF8PS; break;
-    case X86::PTDPHF8PS: Opc = X86::TDPHF8PS; break;
+    case X86::PTDPHF8PS:
+      Opc = X86::TDPHF8PS;
+      break;
     case X86::PTMMULTF32PS:
       Opc = X86::TMMULTF32PS;
       break;

``````````

</details>


https://github.com/llvm/llvm-project/pull/165556
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to