[clang] [llvm] Remove mmx 3dnow (PR #96246)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 21 09:50:53 PDT 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 af6acd7442646fde56de919964bd52d7bb7922b2 8a0252f670f7339a8c8b63db9bbb9a8c9fd0e8d6 --extensions 'c,cpp,h' -- clang/lib/Basic/Targets/X86.cpp clang/lib/Basic/Targets/X86.h clang/lib/CodeGen/CGBuiltin.cpp clang/lib/Driver/ToolChains/Arch/X86.cpp clang/lib/Headers/mm3dnow.h clang/lib/Headers/x86intrin.h clang/test/CodeGen/builtins-x86.c clang/test/Driver/x86-target-features.c clang/test/Headers/mm3dnow.c clang/test/Preprocessor/predefined-arch-macros.c clang/test/Preprocessor/x86_target_features.c llvm/lib/Target/X86/X86ISelLowering.cpp llvm/lib/Target/X86/X86Subtarget.cpp llvm/lib/Target/X86/X86Subtarget.h
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/lib/Target/X86/X86Subtarget.cpp b/llvm/lib/Target/X86/X86Subtarget.cpp
index 11538534c2..f9cf2bd66f 100644
--- a/llvm/lib/Target/X86/X86Subtarget.cpp
+++ b/llvm/lib/Target/X86/X86Subtarget.cpp
@@ -289,8 +289,7 @@ void X86Subtarget::initSubtargetFeatures(StringRef CPU, StringRef TuneCPU,
IsUnalignedMem16Slow = false;
LLVM_DEBUG(dbgs() << "Subtarget features: SSELevel " << X86SSELevel
- << ", MMX " << HasMMX << ", 64bit "
- << HasX86_64 << "\n");
+ << ", MMX " << HasMMX << ", 64bit " << HasX86_64 << "\n");
if (Is64Bit && !HasX86_64)
report_fatal_error("64-bit code requested on a subtarget that doesn't "
"support it!");
``````````
</details>
https://github.com/llvm/llvm-project/pull/96246
More information about the llvm-commits
mailing list