[clang] [llvm] [X86] Add ACE v1 (AI Compute Extensions) support (PR #208408)

via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 25 09:56:03 PST 2026


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/Headers/acev1intrin.h clang/test/CodeGen/X86/acev1.c clang/test/CodeGen/X86/acev1_api.c clang/test/CodeGen/X86/acev1_bsr.c clang/test/CodeGen/X86/acev1_errors.c clang/test/CodeGen/X86/acev1_feature_errors.c clang/test/CodeGen/X86/acev1_inline_asm.c clang/test/CodeGen/X86/acev1_tile_movement.c clang/include/clang/Sema/SemaX86.h clang/lib/Basic/Targets/X86.cpp clang/lib/Basic/Targets/X86.h clang/lib/Headers/cpuid.h clang/lib/Headers/immintrin.h clang/lib/Sema/SemaX86.cpp clang/test/CIR/CodeGen/attr-target-x86.c clang/test/CodeGen/attr-target-x86.c clang/test/Driver/x86-target-features.c clang/test/Preprocessor/x86_target_features.c llvm/lib/Target/X86/MCTargetDesc/X86MCCodeEmitter.cpp llvm/lib/Target/X86/X86ExpandPseudo.cpp llvm/lib/Target/X86/X86FastPreTileConfig.cpp llvm/lib/Target/X86/X86FastTileConfig.cpp llvm/lib/Target/X86/X86FrameLowering.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/X86LowerTileCopy.cpp llvm/lib/Target/X86/X86MachineFunctionInfo.cpp llvm/lib/Target/X86/X86MachineFunctionInfo.h llvm/lib/Target/X86/X86PreTileConfig.cpp llvm/lib/Target/X86/X86RegisterInfo.cpp llvm/lib/Target/X86/X86TileConfig.cpp llvm/lib/TargetParser/X86TargetParser.cpp llvm/test/TableGen/x86-fold-tables.inc 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/X86MachineFunctionInfo.cpp b/llvm/lib/Target/X86/X86MachineFunctionInfo.cpp
index 4a0ea93e5..3295de4bd 100644
--- a/llvm/lib/Target/X86/X86MachineFunctionInfo.cpp
+++ b/llvm/lib/Target/X86/X86MachineFunctionInfo.cpp
@@ -16,8 +16,7 @@ using namespace llvm;
 
 yaml::X86MachineFunctionInfo::X86MachineFunctionInfo(
     const llvm::X86MachineFunctionInfo &MFI)
-    : AMXProgModel(MFI.getAMXProgModel()),
-      ACEProgModel(MFI.getACEProgModel()),
+    : AMXProgModel(MFI.getAMXProgModel()), ACEProgModel(MFI.getACEProgModel()),
       HasVAStartSaveXMMRegs(MFI.getHasVAStartSaveXMMRegs()) {}
 
 void yaml::X86MachineFunctionInfo::mappingImpl(yaml::IO &YamlIO) {

``````````

</details>


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


More information about the cfe-commits mailing list