[llvm-branch-commits] [llvm] Analysis: Add RuntimeLibcall analysis pass (PR #165196)

2025-11-04 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm updated https://github.com/llvm/llvm-project/pull/165196 >From 0158564d168101f8ec0f6ecb8a0ac98e5f3e Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Mon, 2 Jun 2025 18:32:22 +0200 Subject: [PATCH] Analysis: Add RuntimeLibcall analysis pass Currently RuntimeLibc

[llvm-branch-commits] [llvm] ExpandFp: Require RuntimeLibcallsInfo analysis (PR #165197)

2025-11-04 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm updated https://github.com/llvm/llvm-project/pull/165197 >From 7fd144cf1ef36cbc2c7f896fd23185292920816d Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Sun, 26 Oct 2025 02:44:00 +0900 Subject: [PATCH] ExpandFp: Require RuntimeLibcallsInfo analysis Not sure I'm doi

[llvm-branch-commits] [llvm] ExpandFp: Require RuntimeLibcallsInfo analysis (PR #165197)

2025-11-04 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm updated https://github.com/llvm/llvm-project/pull/165197 >From 7fd144cf1ef36cbc2c7f896fd23185292920816d Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Sun, 26 Oct 2025 02:44:00 +0900 Subject: [PATCH] ExpandFp: Require RuntimeLibcallsInfo analysis Not sure I'm doi

[llvm-branch-commits] [llvm] Analysis: Add RuntimeLibcall analysis pass (PR #165196)

2025-11-04 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm updated https://github.com/llvm/llvm-project/pull/165196 >From 0158564d168101f8ec0f6ecb8a0ac98e5f3e Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Mon, 2 Jun 2025 18:32:22 +0200 Subject: [PATCH] Analysis: Add RuntimeLibcall analysis pass Currently RuntimeLibc

[llvm-branch-commits] [llvm] CodeGen: More accurate mayAlias for instructions with multiple MMOs (PR #166211)

2025-11-04 Thread Nicolai Hähnle via llvm-branch-commits
https://github.com/nhaehnle updated https://github.com/llvm/llvm-project/pull/166211 From f40a20f2d9f58bf0fe5445295794cc187c66c60b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolai=20H=C3=A4hnle?= Date: Fri, 3 Oct 2025 18:20:22 -0700 Subject: [PATCH] CodeGen: More accurate mayAlias for instructi

[llvm-branch-commits] [llvm] CodeGen: Handle bundled instructions in two-address-instructions pass (PR #166212)

2025-11-04 Thread Nicolai Hähnle via llvm-branch-commits
https://github.com/nhaehnle updated https://github.com/llvm/llvm-project/pull/166212 From 97427fa06abb642ffe0d0f5f892fdf326830d88f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolai=20H=C3=A4hnle?= Date: Tue, 23 Sep 2025 19:08:52 -0700 Subject: [PATCH] CodeGen: Handle bundled instructions in two

[llvm-branch-commits] [llvm] CodeGen: More accurate mayAlias for instructions with multiple MMOs (PR #166211)

2025-11-04 Thread Nicolai Hähnle via llvm-branch-commits
https://github.com/nhaehnle updated https://github.com/llvm/llvm-project/pull/166211 From f40a20f2d9f58bf0fe5445295794cc187c66c60b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolai=20H=C3=A4hnle?= Date: Fri, 3 Oct 2025 18:20:22 -0700 Subject: [PATCH] CodeGen: More accurate mayAlias for instructi

[llvm-branch-commits] [llvm] CodeGen: Handle bundled instructions in two-address-instructions pass (PR #166212)

2025-11-04 Thread Nicolai Hähnle via llvm-branch-commits
https://github.com/nhaehnle updated https://github.com/llvm/llvm-project/pull/166212 From 97427fa06abb642ffe0d0f5f892fdf326830d88f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolai=20H=C3=A4hnle?= Date: Tue, 23 Sep 2025 19:08:52 -0700 Subject: [PATCH] CodeGen: Handle bundled instructions in two

[llvm-branch-commits] [llvm] CodeGen: Handle bundled instructions in two-address-instructions pass (PR #166212)

2025-11-04 Thread Nicolai Hähnle via llvm-branch-commits
https://github.com/nhaehnle updated https://github.com/llvm/llvm-project/pull/166212 From 97427fa06abb642ffe0d0f5f892fdf326830d88f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolai=20H=C3=A4hnle?= Date: Tue, 23 Sep 2025 19:08:52 -0700 Subject: [PATCH] CodeGen: Handle bundled instructions in two

[llvm-branch-commits] [llvm] CodeGen: More accurate mayAlias for instructions with multiple MMOs (PR #166211)

2025-11-04 Thread Nicolai Hähnle via llvm-branch-commits
https://github.com/nhaehnle updated https://github.com/llvm/llvm-project/pull/166211 From f40a20f2d9f58bf0fe5445295794cc187c66c60b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolai=20H=C3=A4hnle?= Date: Fri, 3 Oct 2025 18:20:22 -0700 Subject: [PATCH] CodeGen: More accurate mayAlias for instructi

[llvm-branch-commits] [llvm] CodeGen/AMDGPU: Allow 3-address conversion of bundled instructions (PR #166213)

2025-11-04 Thread Nicolai Hähnle via llvm-branch-commits
https://github.com/nhaehnle updated https://github.com/llvm/llvm-project/pull/166213 From e0611e449d84c99d08b0bd6a5f338cb605740574 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolai=20H=C3=A4hnle?= Date: Tue, 7 Oct 2025 12:17:02 -0700 Subject: [PATCH] CodeGen/AMDGPU: Allow 3-address conversion of

[llvm-branch-commits] [llvm] CodeGen/AMDGPU: Allow 3-address conversion of bundled instructions (PR #166213)

2025-11-04 Thread Nicolai Hähnle via llvm-branch-commits
https://github.com/nhaehnle updated https://github.com/llvm/llvm-project/pull/166213 From e0611e449d84c99d08b0bd6a5f338cb605740574 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolai=20H=C3=A4hnle?= Date: Tue, 7 Oct 2025 12:17:02 -0700 Subject: [PATCH] CodeGen/AMDGPU: Allow 3-address conversion of

[llvm-branch-commits] [llvm] CodeGen/AMDGPU: Allow 3-address conversion of bundled instructions (PR #166213)

2025-11-04 Thread Nicolai Hähnle via llvm-branch-commits
https://github.com/nhaehnle updated https://github.com/llvm/llvm-project/pull/166213 From e0611e449d84c99d08b0bd6a5f338cb605740574 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolai=20H=C3=A4hnle?= Date: Tue, 7 Oct 2025 12:17:02 -0700 Subject: [PATCH] CodeGen/AMDGPU: Allow 3-address conversion of

[llvm-branch-commits] [llvm] AMDGPU: Really use AV classes by default for vector classes (PR #166483)

2025-11-04 Thread Shilei Tian via llvm-branch-commits
https://github.com/shiltian approved this pull request. https://github.com/llvm/llvm-project/pull/166483 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [LSCFG][profcheck] Add dummy branch weights for the dummy switch to dead exits (PR #164714)

2025-11-04 Thread Mircea Trofin via llvm-branch-commits
https://github.com/mtrofin updated https://github.com/llvm/llvm-project/pull/164714 >From 66c5d03f0905ba41fa43b66c3d5cbd3e7b003c3b Mon Sep 17 00:00:00 2001 From: Mircea Trofin Date: Wed, 22 Oct 2025 14:34:31 -0700 Subject: [PATCH] [LSCFG][profcheck] Add dummy branch weights for the dummy switc

[llvm-branch-commits] [clang] [clang] "modular_format" attribute for functions using format strings (PR #147431)

2025-11-04 Thread Daniel Thornburgh via llvm-branch-commits
https://github.com/mysterymath updated https://github.com/llvm/llvm-project/pull/147431 >From 3ac748150a5c7caf8fed4d7c488770722d505068 Mon Sep 17 00:00:00 2001 From: Daniel Thornburgh Date: Tue, 10 Jun 2025 14:06:53 -0700 Subject: [PATCH 01/12] [clang] "modular_format" attribute for functions u

[llvm-branch-commits] [llvm] [CAS] Add llvm-cas tools to inspect on-disk LLVMCAS (PR #114104)

2025-11-04 Thread Steven Wu via llvm-branch-commits
https://github.com/cachemeifyoucan closed https://github.com/llvm/llvm-project/pull/114104 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] CodeGen: Record MMOs in finalizeBundle (PR #166210)

2025-11-04 Thread Matt Arsenault via llvm-branch-commits
@@ -200,6 +201,8 @@ void llvm::finalizeBundle(MachineBasicBlock &MBB, MIB.setMIFlag(MachineInstr::FrameSetup); if (MII->getFlag(MachineInstr::FrameDestroy)) MIB.setMIFlag(MachineInstr::FrameDestroy); + +append_range(MMOs, MII->memoperands()); ---

[llvm-branch-commits] [llvm] CodeGen: Record MMOs in finalizeBundle (PR #166210)

2025-11-04 Thread Matt Arsenault via llvm-branch-commits
@@ -32,7 +32,6 @@ define void @needs_align16_default_stack_align(i32 %idx) #0 { ; GCN-NEXT:buffer_store_dword v1, v0, s[0:3], 0 offen ; GCN-NEXT:s_waitcnt vmcnt(0) ; GCN-NEXT:s_setpc_b64 s[30:31] -; GCN: ; ScratchSize: 144 arsenm wrote: Lost all of

[llvm-branch-commits] [mlir] 3414bbf - Revert "[mlir][memref]: Collapse strided unit dim even if strides are dynamic…"

2025-11-04 Thread via llvm-branch-commits
Author: Han-Chung Wang Date: 2025-11-04T13:28:00-08:00 New Revision: 3414bbf12a661bc518953d91e859a5b67b6dc432 URL: https://github.com/llvm/llvm-project/commit/3414bbf12a661bc518953d91e859a5b67b6dc432 DIFF: https://github.com/llvm/llvm-project/commit/3414bbf12a661bc518953d91e859a5b67b6dc432.diff

[llvm-branch-commits] [llvm] [SLU][profcheck] Propagate profile for branches on injected conditions. (PR #164476)

2025-11-04 Thread Mircea Trofin via llvm-branch-commits
https://github.com/mtrofin updated https://github.com/llvm/llvm-project/pull/164476 >From 8f285601c9110fd4fe09fdb88dac12969c77c88f Mon Sep 17 00:00:00 2001 From: Mircea Trofin Date: Tue, 21 Oct 2025 11:22:01 -0700 Subject: [PATCH] [SLU][profcheck] Propagate profile for branches on injected con

[llvm-branch-commits] [llvm] [SLU][profcheck] Propagate profile for branches on injected conditions. (PR #164476)

2025-11-04 Thread Mircea Trofin via llvm-branch-commits
https://github.com/mtrofin updated https://github.com/llvm/llvm-project/pull/164476 >From 8f285601c9110fd4fe09fdb88dac12969c77c88f Mon Sep 17 00:00:00 2001 From: Mircea Trofin Date: Tue, 21 Oct 2025 11:22:01 -0700 Subject: [PATCH] [SLU][profcheck] Propagate profile for branches on injected con

[llvm-branch-commits] [llvm] [LIR][profcheck] Reuse the loop's exit condition profile (PR #164523)

2025-11-04 Thread Mircea Trofin via llvm-branch-commits
https://github.com/mtrofin updated https://github.com/llvm/llvm-project/pull/164523 >From b09504467d9e8e0219d43f49301985f7e0c832cc Mon Sep 17 00:00:00 2001 From: Mircea Trofin Date: Tue, 21 Oct 2025 17:24:49 -0700 Subject: [PATCH] [LIR][profcheck] Reuse the loop's exit condition profile --- .

[llvm-branch-commits] [llvm] [LVer][profcheck] explicitly set unknown branch weights for the versioned/unversioned selector (PR #164507)

2025-11-04 Thread Mircea Trofin via llvm-branch-commits
https://github.com/mtrofin updated https://github.com/llvm/llvm-project/pull/164507 >From 057f2521ff54aa71f8068fd64d86fbb41e846fc0 Mon Sep 17 00:00:00 2001 From: Mircea Trofin Date: Tue, 21 Oct 2025 15:20:14 -0700 Subject: [PATCH] [LVer][profcheck] explicitly set unknown branch weights for the

[llvm-branch-commits] [llvm] [LIR][profcheck] Reuse the loop's exit condition profile (PR #164523)

2025-11-04 Thread Mircea Trofin via llvm-branch-commits
https://github.com/mtrofin updated https://github.com/llvm/llvm-project/pull/164523 >From b09504467d9e8e0219d43f49301985f7e0c832cc Mon Sep 17 00:00:00 2001 From: Mircea Trofin Date: Tue, 21 Oct 2025 17:24:49 -0700 Subject: [PATCH] [LIR][profcheck] Reuse the loop's exit condition profile --- .

[llvm-branch-commits] [llvm] [LSCFG][profcheck] Add dummy branch weights for the dummy switch to dead exits (PR #164714)

2025-11-04 Thread Mircea Trofin via llvm-branch-commits
https://github.com/mtrofin updated https://github.com/llvm/llvm-project/pull/164714 >From c5c997dfb7d356422457291b53534ddc3f02cca6 Mon Sep 17 00:00:00 2001 From: Mircea Trofin Date: Wed, 22 Oct 2025 14:34:31 -0700 Subject: [PATCH] [LSCFG][profcheck] Add dummy branch weights for the dummy switc

[llvm-branch-commits] [llvm] [LVer][profcheck] explicitly set unknown branch weights for the versioned/unversioned selector (PR #164507)

2025-11-04 Thread Mircea Trofin via llvm-branch-commits
https://github.com/mtrofin updated https://github.com/llvm/llvm-project/pull/164507 >From 057f2521ff54aa71f8068fd64d86fbb41e846fc0 Mon Sep 17 00:00:00 2001 From: Mircea Trofin Date: Tue, 21 Oct 2025 15:20:14 -0700 Subject: [PATCH] [LVer][profcheck] explicitly set unknown branch weights for the

[llvm-branch-commits] [llvm] [LSCFG][profcheck] Add dummy branch weights for the dummy switch to dead exits (PR #164714)

2025-11-04 Thread Mircea Trofin via llvm-branch-commits
https://github.com/mtrofin updated https://github.com/llvm/llvm-project/pull/164714 >From c5c997dfb7d356422457291b53534ddc3f02cca6 Mon Sep 17 00:00:00 2001 From: Mircea Trofin Date: Wed, 22 Oct 2025 14:34:31 -0700 Subject: [PATCH] [LSCFG][profcheck] Add dummy branch weights for the dummy switc

[llvm-branch-commits] [llvm] [X86][NewPM] Port X86PartialReduction to NewPM (PR #166048)

2025-11-04 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/166048 >From 54ac616a28d1aa5544192a8a2cdbce30641fa22f Mon Sep 17 00:00:00 2001 From: Aiden Grossman Date: Sun, 2 Nov 2025 09:07:51 + Subject: [PATCH 1/2] =?UTF-8?q?[=F0=9D=98=80=F0=9D=97=BD=F0=9D=97=BF]=20ch

[llvm-branch-commits] [llvm] [X86][NewPM] Port X86PartialReduction to NewPM (PR #166048)

2025-11-04 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/166048 >From 54ac616a28d1aa5544192a8a2cdbce30641fa22f Mon Sep 17 00:00:00 2001 From: Aiden Grossman Date: Sun, 2 Nov 2025 09:07:51 + Subject: [PATCH 1/2] =?UTF-8?q?[=F0=9D=98=80=F0=9D=97=BD=F0=9D=97=BF]=20ch

[llvm-branch-commits] [X86][NewPM] Port lower-amx-intrinsics to NewPM (PR #165113)

2025-11-04 Thread Aiden Grossman via llvm-branch-commits
@@ -179,7 +179,18 @@ FunctionPass *createX86LowerAMXTypeLegacyPass(); /// The pass transforms amx intrinsics to scalar operation if the function has /// optnone attribute or it is O0. -FunctionPass *createX86LowerAMXIntrinsicsPass(); +class X86LowerAMXIntrinsicsPass +: pub

[llvm-branch-commits] [llvm] CodeGen: Record tied virtual register operands in finalizeBundle (PR #166209)

2025-11-04 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm approved this pull request. https://github.com/llvm/llvm-project/pull/166209 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [LSCFG][profcheck] Add dummy branch weights for the dummy switch to dead exits (PR #164714)

2025-11-04 Thread Mircea Trofin via llvm-branch-commits
https://github.com/mtrofin updated https://github.com/llvm/llvm-project/pull/164714 >From 79cfc198e89191126f2ef546c0a509c5a271e00e Mon Sep 17 00:00:00 2001 From: Mircea Trofin Date: Wed, 22 Oct 2025 14:34:31 -0700 Subject: [PATCH] [LSCFG][profcheck] Add dummy branch weights for the dummy switc

[llvm-branch-commits] [llvm] [SLU][profcheck] Propagate profile for branches on injected conditions. (PR #164476)

2025-11-04 Thread Mircea Trofin via llvm-branch-commits
https://github.com/mtrofin updated https://github.com/llvm/llvm-project/pull/164476 >From fc8a630e3d1107ff1a61484080049ca322be07c6 Mon Sep 17 00:00:00 2001 From: Mircea Trofin Date: Tue, 21 Oct 2025 11:22:01 -0700 Subject: [PATCH] [SLU][profcheck] Propagate profile for branches on injected con

[llvm-branch-commits] [llvm] [LIR][profcheck] Reuse the loop's exit condition profile (PR #164523)

2025-11-04 Thread Mircea Trofin via llvm-branch-commits
https://github.com/mtrofin updated https://github.com/llvm/llvm-project/pull/164523 >From c5282b720c3e347617fbf48071af77a4ea0d5dfe Mon Sep 17 00:00:00 2001 From: Mircea Trofin Date: Tue, 21 Oct 2025 17:24:49 -0700 Subject: [PATCH] [LIR][profcheck] Reuse the loop's exit condition profile --- .

[llvm-branch-commits] [llvm] [LVer][profcheck] explicitly set unknown branch weights for the versioned/unversioned selector (PR #164507)

2025-11-04 Thread Mircea Trofin via llvm-branch-commits
https://github.com/mtrofin updated https://github.com/llvm/llvm-project/pull/164507 >From 7142f46d62fdd2596c5f6876eed896c07af7ceca Mon Sep 17 00:00:00 2001 From: Mircea Trofin Date: Tue, 21 Oct 2025 15:20:14 -0700 Subject: [PATCH] [LVer][profcheck] explicitly set unknown branch weights for the

[llvm-branch-commits] [llvm] [LIR][profcheck] Reuse the loop's exit condition profile (PR #164523)

2025-11-04 Thread Mircea Trofin via llvm-branch-commits
https://github.com/mtrofin updated https://github.com/llvm/llvm-project/pull/164523 >From c5282b720c3e347617fbf48071af77a4ea0d5dfe Mon Sep 17 00:00:00 2001 From: Mircea Trofin Date: Tue, 21 Oct 2025 17:24:49 -0700 Subject: [PATCH] [LIR][profcheck] Reuse the loop's exit condition profile --- .

[llvm-branch-commits] [llvm] [SLU][profcheck] Propagate profile for branches on injected conditions. (PR #164476)

2025-11-04 Thread Mircea Trofin via llvm-branch-commits
https://github.com/mtrofin updated https://github.com/llvm/llvm-project/pull/164476 >From fc8a630e3d1107ff1a61484080049ca322be07c6 Mon Sep 17 00:00:00 2001 From: Mircea Trofin Date: Tue, 21 Oct 2025 11:22:01 -0700 Subject: [PATCH] [SLU][profcheck] Propagate profile for branches on injected con

[llvm-branch-commits] [llvm] [LSCFG][profcheck] Add dummy branch weights for the dummy switch to dead exits (PR #164714)

2025-11-04 Thread Mircea Trofin via llvm-branch-commits
https://github.com/mtrofin updated https://github.com/llvm/llvm-project/pull/164714 >From 79cfc198e89191126f2ef546c0a509c5a271e00e Mon Sep 17 00:00:00 2001 From: Mircea Trofin Date: Wed, 22 Oct 2025 14:34:31 -0700 Subject: [PATCH] [LSCFG][profcheck] Add dummy branch weights for the dummy switc

[llvm-branch-commits] [llvm] [LVer][profcheck] explicitly set unknown branch weights for the versioned/unversioned selector (PR #164507)

2025-11-04 Thread Mircea Trofin via llvm-branch-commits
https://github.com/mtrofin updated https://github.com/llvm/llvm-project/pull/164507 >From 7142f46d62fdd2596c5f6876eed896c07af7ceca Mon Sep 17 00:00:00 2001 From: Mircea Trofin Date: Tue, 21 Oct 2025 15:20:14 -0700 Subject: [PATCH] [LVer][profcheck] explicitly set unknown branch weights for the

[llvm-branch-commits] [llvm] CodeGen: Handle bundled instructions in two-address-instructions pass (PR #166212)

2025-11-04 Thread Nicolai Hähnle via llvm-branch-commits
https://github.com/nhaehnle edited https://github.com/llvm/llvm-project/pull/166212 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] CodeGen: More accurate mayAlias for instructions with multiple MMOs (PR #166211)

2025-11-04 Thread Nicolai Hähnle via llvm-branch-commits
https://github.com/nhaehnle edited https://github.com/llvm/llvm-project/pull/166211 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] CodeGen: Record MMOs in finalizeBundle (PR #166210)

2025-11-04 Thread Nicolai Hähnle via llvm-branch-commits
https://github.com/nhaehnle edited https://github.com/llvm/llvm-project/pull/166210 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] CodeGen: Record tied virtual register operands in finalizeBundle (PR #166209)

2025-11-04 Thread Nicolai Hähnle via llvm-branch-commits
@@ -0,0 +1,61 @@ +//===- MachineInstrBundleTest.cpp -===// nhaehnle wrote: Indeed, that is a lot nicer https://github.com/llvm/llvm-project/pull/166209 ___ llvm-branch-commits m

[llvm-branch-commits] [llvm] CodeGen: Record tied virtual register operands in finalizeBundle (PR #166209)

2025-11-04 Thread Nicolai Hähnle via llvm-branch-commits
https://github.com/nhaehnle edited https://github.com/llvm/llvm-project/pull/166209 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] CodeGen/AMDGPU: Allow 3-address conversion of bundled instructions (PR #166213)

2025-11-04 Thread Nicolai Hähnle via llvm-branch-commits
https://github.com/nhaehnle edited https://github.com/llvm/llvm-project/pull/166213 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] Backport #164873 and #166067 to `release/21.x` (PR #166409)

2025-11-04 Thread Teresa Johnson via llvm-branch-commits
https://github.com/teresajohnson approved this pull request. lgtm thanks https://github.com/llvm/llvm-project/pull/166409 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branc

[llvm-branch-commits] [mlir] [Backport][MLIR] Properties.td fix from main commit 77f2560 (PR #165768)

2025-11-04 Thread Lin-Ya Yu via llvm-branch-commits
yu810226 wrote: Thanks for the review! This is a clean backport of the fix from main. As pointed out, the issue is indirectly tested in the original commit (via the ptr op), so I didn’t backport the tests here. If anyone familiar with the backport testing process could comment on the test cov

[llvm-branch-commits] [llvm] [X86][NewPM] Port X86PartialReduction to NewPM (PR #166048)

2025-11-04 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm approved this pull request. https://github.com/llvm/llvm-project/pull/166048 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [X86][NewPM] Port lower-amx-intrinsics to NewPM (PR #165113)

2025-11-04 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm approved this pull request. https://github.com/llvm/llvm-project/pull/165113 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [X86][NewPM] Port lower-amx-intrinsics to NewPM (PR #165113)

2025-11-04 Thread Matt Arsenault via llvm-branch-commits
@@ -179,7 +179,18 @@ FunctionPass *createX86LowerAMXTypeLegacyPass(); /// The pass transforms amx intrinsics to scalar operation if the function has /// optnone attribute or it is O0. -FunctionPass *createX86LowerAMXIntrinsicsPass(); +class X86LowerAMXIntrinsicsPass +: pub

[llvm-branch-commits] [llvm] [WIP] Handle guard insertion in callbacks to OpenMP runtime functions. (PR #164655)

2025-11-04 Thread Abid Qadeer via llvm-branch-commits
https://github.com/abidh updated https://github.com/llvm/llvm-project/pull/164655 >From 56037a64dbd5f73d2c020dd5d58d2c99758b35d0 Mon Sep 17 00:00:00 2001 From: Abid Qadeer Date: Tue, 21 Oct 2025 20:53:46 +0100 Subject: [PATCH 1/9] Add callback metadata to runtime functions which take callbacks

[llvm-branch-commits] [llvm] Backport #164873 and #166067 to `release/21.x` (PR #166409)

2025-11-04 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-lto Author: Andrew Ng (nga888) Changes Backport the following commits to `release/21.x`: 0341fb63: [ThinLTO] Avoid creating map entries on lookup (NFCI) (#164873) 564c3de6: [ThinLTO][NFC] Improve performance of `addThinLTO` (#166067) --- Full diff: htt

[llvm-branch-commits] [llvm] Backport #164873 and #166067 to `release/21.x` (PR #166409)

2025-11-04 Thread Andrew Ng via llvm-branch-commits
https://github.com/nga888 milestoned https://github.com/llvm/llvm-project/pull/166409 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] Backport #164873 and #166067 to `release/21.x` (PR #166409)

2025-11-04 Thread Andrew Ng via llvm-branch-commits
https://github.com/nga888 created https://github.com/llvm/llvm-project/pull/166409 Backport the following commits to `release/21.x`: 0341fb63: [ThinLTO] Avoid creating map entries on lookup (NFCI) (#164873) 564c3de6: [ThinLTO][NFC] Improve performance of `addThinLTO` (#166067) >From 0b5b2ad793

[llvm-branch-commits] [llvm] DAG: Merge all sincos_stret emission code into legalizer (PR #166295)

2025-11-04 Thread Paul Kirth via llvm-branch-commits
https://github.com/ilovepi approved this pull request. https://github.com/llvm/llvm-project/pull/166295 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [CAS] Add llvm-cas tools to inspect on-disk LLVMCAS (PR #114104)

2025-11-04 Thread Paul Kirth via llvm-branch-commits
@@ -0,0 +1 @@ +content ilovepi wrote: lol. wow. I'm apparently *very* observant :facepalm: https://github.com/llvm/llvm-project/pull/114104 ___ llvm-branch-commits mailing list [email protected] https

[llvm-branch-commits] [llvm] [llvm][mustache] Optimize accessor splitting with a single pass (PR #159198)

2025-11-04 Thread Paul Kirth via llvm-branch-commits
https://github.com/ilovepi updated https://github.com/llvm/llvm-project/pull/159198 >From d96bab0fb7af58cef733922dbe42a4bcdf5b4953 Mon Sep 17 00:00:00 2001 From: Paul Kirth Date: Tue, 16 Sep 2025 00:24:43 -0700 Subject: [PATCH] [llvm][mustache] Optimize accessor splitting with a single pass T

[llvm-branch-commits] [llvm] [llvm][mustache] Avoid redundant saves in accessor splitting (PR #159197)

2025-11-04 Thread Paul Kirth via llvm-branch-commits
https://github.com/ilovepi updated https://github.com/llvm/llvm-project/pull/159197 >From 0cf7370c83c7fcfab8559ebb36092f48020b8c8f Mon Sep 17 00:00:00 2001 From: Paul Kirth Date: Tue, 16 Sep 2025 00:11:47 -0700 Subject: [PATCH] [llvm][mustache] Avoid redundant saves in accessor splitting The s

[llvm-branch-commits] [llvm] [llvm][mustache] Optimize accessor splitting with a single pass (PR #159198)

2025-11-04 Thread Paul Kirth via llvm-branch-commits
https://github.com/ilovepi updated https://github.com/llvm/llvm-project/pull/159198 >From d96bab0fb7af58cef733922dbe42a4bcdf5b4953 Mon Sep 17 00:00:00 2001 From: Paul Kirth Date: Tue, 16 Sep 2025 00:24:43 -0700 Subject: [PATCH] [llvm][mustache] Optimize accessor splitting with a single pass T

[llvm-branch-commits] [llvm] [llvm][mustache] Avoid extra allocations in parseSection (PR #159199)

2025-11-04 Thread Paul Kirth via llvm-branch-commits
https://github.com/ilovepi updated https://github.com/llvm/llvm-project/pull/159199 >From 5a028c4e11ef7fe1543e31f58fc76a74d5362e0c Mon Sep 17 00:00:00 2001 From: Paul Kirth Date: Tue, 16 Sep 2025 09:40:04 -0700 Subject: [PATCH] [llvm][mustache] Avoid extra allocations in parseSection We don't

[llvm-branch-commits] [llvm] [llvm][mustache] Avoid extra allocations in parseSection (PR #159199)

2025-11-04 Thread Paul Kirth via llvm-branch-commits
https://github.com/ilovepi updated https://github.com/llvm/llvm-project/pull/159199 >From 5a028c4e11ef7fe1543e31f58fc76a74d5362e0c Mon Sep 17 00:00:00 2001 From: Paul Kirth Date: Tue, 16 Sep 2025 09:40:04 -0700 Subject: [PATCH] [llvm][mustache] Avoid extra allocations in parseSection We don't

[llvm-branch-commits] [llvm] [llvm][mustache] Avoid redundant saves in accessor splitting (PR #159197)

2025-11-04 Thread Paul Kirth via llvm-branch-commits
https://github.com/ilovepi updated https://github.com/llvm/llvm-project/pull/159197 >From 0cf7370c83c7fcfab8559ebb36092f48020b8c8f Mon Sep 17 00:00:00 2001 From: Paul Kirth Date: Tue, 16 Sep 2025 00:11:47 -0700 Subject: [PATCH] [llvm][mustache] Avoid redundant saves in accessor splitting The s

[llvm-branch-commits] [llvm] [CAS] Add llvm-cas tools to inspect on-disk LLVMCAS (PR #114104)

2025-11-04 Thread Steven Wu via llvm-branch-commits
https://github.com/cachemeifyoucan updated https://github.com/llvm/llvm-project/pull/114104 Unicorn! · GitHub body { background-color: #f1f1f1; margin: 0; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; } .container { margin:

[llvm-branch-commits] [llvm] [CAS] Add llvm-cas tools to inspect on-disk LLVMCAS (PR #114104)

2025-11-04 Thread Steven Wu via llvm-branch-commits
https://github.com/cachemeifyoucan updated https://github.com/llvm/llvm-project/pull/114104 >From 63c4928ed65fb2a83a4a25f3c098af7d931fc0af Mon Sep 17 00:00:00 2001 From: Steven Wu Date: Mon, 3 Nov 2025 12:09:19 -0800 Subject: [PATCH 1/2] clang-format Created using spr 1.3.7 --- llvm/tools/llv

[llvm-branch-commits] [llvm] [SLU][profcheck] create likely branch weights for guard->branch (PR #164271)

2025-11-04 Thread Mircea Trofin via llvm-branch-commits
https://github.com/mtrofin updated https://github.com/llvm/llvm-project/pull/164271 >From 0a768f01ce410e4d1ee377442246a5f7f0442494 Mon Sep 17 00:00:00 2001 From: Mircea Trofin Date: Mon, 20 Oct 2025 08:21:26 -0700 Subject: [PATCH] [SLU][profcheck] create likely branch weights for guard->branch

[llvm-branch-commits] [llvm] [LSCFG][profcheck] Add dummy branch weights for the dummy switch to dead exits (PR #164714)

2025-11-04 Thread Mircea Trofin via llvm-branch-commits
https://github.com/mtrofin updated https://github.com/llvm/llvm-project/pull/164714 >From b54f064b74cf7fb7bead465878439446e27c0fd8 Mon Sep 17 00:00:00 2001 From: Mircea Trofin Date: Wed, 22 Oct 2025 14:34:31 -0700 Subject: [PATCH] [LSCFG][profcheck] Add dummy branch weights for the dummy switc

[llvm-branch-commits] [llvm] [LSCFG][profcheck] Add dummy branch weights for the dummy switch to dead exits (PR #164714)

2025-11-04 Thread Mircea Trofin via llvm-branch-commits
https://github.com/mtrofin updated https://github.com/llvm/llvm-project/pull/164714 >From b54f064b74cf7fb7bead465878439446e27c0fd8 Mon Sep 17 00:00:00 2001 From: Mircea Trofin Date: Wed, 22 Oct 2025 14:34:31 -0700 Subject: [PATCH] [LSCFG][profcheck] Add dummy branch weights for the dummy switc

[llvm-branch-commits] [llvm] [SLU][profcheck] Propagate profile for branches on injected conditions. (PR #164476)

2025-11-04 Thread Mircea Trofin via llvm-branch-commits
https://github.com/mtrofin updated https://github.com/llvm/llvm-project/pull/164476 >From 84a4031a304acf8092dfadc815ec8863f0790ec7 Mon Sep 17 00:00:00 2001 From: Mircea Trofin Date: Tue, 21 Oct 2025 11:22:01 -0700 Subject: [PATCH] [SLU][profcheck] Propagate profile for branches on injected con

[llvm-branch-commits] [llvm] [SLU][profcheck] create likely branch weights for guard->branch (PR #164271)

2025-11-04 Thread Mircea Trofin via llvm-branch-commits
https://github.com/mtrofin updated https://github.com/llvm/llvm-project/pull/164271 >From 0a768f01ce410e4d1ee377442246a5f7f0442494 Mon Sep 17 00:00:00 2001 From: Mircea Trofin Date: Mon, 20 Oct 2025 08:21:26 -0700 Subject: [PATCH] [SLU][profcheck] create likely branch weights for guard->branch

[llvm-branch-commits] [llvm] [LIR][profcheck] Reuse the loop's exit condition profile (PR #164523)

2025-11-04 Thread Mircea Trofin via llvm-branch-commits
https://github.com/mtrofin updated https://github.com/llvm/llvm-project/pull/164523 >From 0037b3ee964df164b8215b0b6107a212b00b33ae Mon Sep 17 00:00:00 2001 From: Mircea Trofin Date: Tue, 21 Oct 2025 17:24:49 -0700 Subject: [PATCH] [LIR][profcheck] Reuse the loop's exit condition profile --- .

[llvm-branch-commits] [llvm] [SLU][profcheck] Propagate profile for branches on injected conditions. (PR #164476)

2025-11-04 Thread Mircea Trofin via llvm-branch-commits
https://github.com/mtrofin updated https://github.com/llvm/llvm-project/pull/164476 >From 84a4031a304acf8092dfadc815ec8863f0790ec7 Mon Sep 17 00:00:00 2001 From: Mircea Trofin Date: Tue, 21 Oct 2025 11:22:01 -0700 Subject: [PATCH] [SLU][profcheck] Propagate profile for branches on injected con

[llvm-branch-commits] [llvm] [LVer][profcheck] explicitly set unknown branch weights for the versioned/unversioned selector (PR #164507)

2025-11-04 Thread Mircea Trofin via llvm-branch-commits
https://github.com/mtrofin updated https://github.com/llvm/llvm-project/pull/164507 >From b1dfb82c180e4cde2fb5da7328a90cdaaab29935 Mon Sep 17 00:00:00 2001 From: Mircea Trofin Date: Tue, 21 Oct 2025 15:20:14 -0700 Subject: [PATCH] [LVer][profcheck] explicitly set unknown branch weights for the

[llvm-branch-commits] [llvm] [LVer][profcheck] explicitly set unknown branch weights for the versioned/unversioned selector (PR #164507)

2025-11-04 Thread Mircea Trofin via llvm-branch-commits
https://github.com/mtrofin updated https://github.com/llvm/llvm-project/pull/164507 >From b1dfb82c180e4cde2fb5da7328a90cdaaab29935 Mon Sep 17 00:00:00 2001 From: Mircea Trofin Date: Tue, 21 Oct 2025 15:20:14 -0700 Subject: [PATCH] [LVer][profcheck] explicitly set unknown branch weights for the

[llvm-branch-commits] [llvm] [LIR][profcheck] Reuse the loop's exit condition profile (PR #164523)

2025-11-04 Thread Mircea Trofin via llvm-branch-commits
https://github.com/mtrofin updated https://github.com/llvm/llvm-project/pull/164523 >From 0037b3ee964df164b8215b0b6107a212b00b33ae Mon Sep 17 00:00:00 2001 From: Mircea Trofin Date: Tue, 21 Oct 2025 17:24:49 -0700 Subject: [PATCH] [LIR][profcheck] Reuse the loop's exit condition profile --- .

[llvm-branch-commits] [clang] [LifetimeSafety] Optimize fact storage with IDs and vector-based lookup (PR #165963)

2025-11-04 Thread Utkarsh Saxena via llvm-branch-commits
https://github.com/usx95 updated https://github.com/llvm/llvm-project/pull/165963 >From 66119a726e96dca212860e47a06f40b5af6717fe Mon Sep 17 00:00:00 2001 From: Utkarsh Saxena Date: Sat, 1 Nov 2025 03:16:20 + Subject: [PATCH] Avoid using DenseMap for CFGBlock and program points --- .../Ana

[llvm-branch-commits] [clang] [LifetimeSafety] Optimize fact storage with IDs and vector-based lookup (PR #165963)

2025-11-04 Thread Utkarsh Saxena via llvm-branch-commits
https://github.com/usx95 updated https://github.com/llvm/llvm-project/pull/165963 >From 66119a726e96dca212860e47a06f40b5af6717fe Mon Sep 17 00:00:00 2001 From: Utkarsh Saxena Date: Sat, 1 Nov 2025 03:16:20 + Subject: [PATCH] Avoid using DenseMap for CFGBlock and program points --- .../Ana

[llvm-branch-commits] [X86][NewPM] Port lower-amx-intrinsics to NewPM (PR #165113)

2025-11-04 Thread Aiden Grossman via llvm-branch-commits
boomanaiden154 wrote: @arsenm Is this good to go or do you want more thought put into when this is supposed to run (which looks like it might require a lot of work on AMX lowering that I would prefer not to do). https://github.com/llvm/llvm-project/pull/165113 _

[llvm-branch-commits] [llvm] [BOLT][PAC] Warn about synchronous unwind tables (PR #165227)

2025-11-04 Thread Paschalis Mpeis via llvm-branch-commits
paschalis-mpeis wrote: Sounds good. So BOLT doesnt know whether inconsistencies are due to sync/async unwind tables, but instead makes an assumption to help the user? Could you summarise this with a comment in code around the point you emit the warning? Since you are on this, should it handle

[llvm-branch-commits] [llvm] [AArch64][SME] Support saving/restoring ZT0 in the MachineSMEABIPass (PR #166362)

2025-11-04 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-aarch64 Author: Benjamin Maxwell (MacDue) Changes This patch extends the MachineSMEABIPass to support ZT0. This is done with the addition of two new states: - `ACTIVE_ZT0_SAVED` * This is used when calling a function that shares ZA, but d

[llvm-branch-commits] [llvm] [AArch64][SME] Handle zeroing ZA and ZT0 in functions with ZT0 state (PR #166361)

2025-11-04 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-aarch64 Author: Benjamin Maxwell (MacDue) Changes In the MachineSMEABIPass, if we have a function with ZT0 state, then there are some additional cases where we need to zero ZA and ZT0. If the function has a private ZA interface, i.e., new ZT0 (

[llvm-branch-commits] [llvm] [AArch64][SME] Support saving/restoring ZT0 in the MachineSMEABIPass (PR #166362)

2025-11-04 Thread Benjamin Maxwell via llvm-branch-commits
https://github.com/MacDue ready_for_review https://github.com/llvm/llvm-project/pull/166362 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [AArch64][SME] Handle zeroing ZA and ZT0 in functions with ZT0 state (PR #166361)

2025-11-04 Thread Benjamin Maxwell via llvm-branch-commits
https://github.com/MacDue ready_for_review https://github.com/llvm/llvm-project/pull/166361 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [AArch64][SME] Support saving/restoring ZT0 in the MachineSMEABIPass (PR #166362)

2025-11-04 Thread Benjamin Maxwell via llvm-branch-commits
MacDue wrote: This is a stacked PR. See other PRs below: 1. https://github.com/llvm/llvm-project/pull/166360 2. https://github.com/llvm/llvm-project/pull/166361 3. :point_right: https://github.com/llvm/llvm-project/pull/166362 https://github.com/llvm/llvm-project/pull/166362 __

[llvm-branch-commits] [llvm] [AArch64][SME] Handle zeroing ZA and ZT0 in functions with ZT0 state (PR #166361)

2025-11-04 Thread Benjamin Maxwell via llvm-branch-commits
MacDue wrote: This is a stacked PR. See other PRs below: 1. https://github.com/llvm/llvm-project/pull/166360 2. :point_right: https://github.com/llvm/llvm-project/pull/166361 3. https://github.com/llvm/llvm-project/pull/166362 https://github.com/llvm/llvm-project/pull/166361 ___

[llvm-branch-commits] [llvm] [AArch64][SME] Support saving/restoring ZT0 in the MachineSMEABIPass (PR #166362)

2025-11-04 Thread Benjamin Maxwell via llvm-branch-commits
https://github.com/MacDue created https://github.com/llvm/llvm-project/pull/166362 This patch extends the MachineSMEABIPass to support ZT0. This is done with the addition of two new states: - `ACTIVE_ZT0_SAVED` * This is used when calling a function that shares ZA, but does share ZT0 (i

[llvm-branch-commits] [llvm] [AArch64][SME] Handle zeroing ZA and ZT0 in functions with ZT0 state (PR #166361)

2025-11-04 Thread Benjamin Maxwell via llvm-branch-commits
https://github.com/MacDue created https://github.com/llvm/llvm-project/pull/166361 In the MachineSMEABIPass, if we have a function with ZT0 state, then there are some additional cases where we need to zero ZA and ZT0. If the function has a private ZA interface, i.e., new ZT0 (and new ZA if pr

[llvm-branch-commits] [llvm] [BOLT][NFC] Rename Pointer Auth DWARF rewriter passes (PR #164622)

2025-11-04 Thread Paschalis Mpeis via llvm-branch-commits
Gergely =?utf-8?q?Bálint?= , Gergely =?utf-8?q?Bálint?= Message-ID: In-Reply-To: paschalis-mpeis wrote: > One piece of doubt that I have since I opened this PR: the term CFI is > overloaded, it can mean Call Frame Information and Control Flow Integrity. > This is even more problematic than u

[llvm-branch-commits] [llvm] [LV] Choose best reduction for VPlan (PR #166138)

2025-11-04 Thread Sushant Gokhale via llvm-branch-commits
@@ -0,0 +1,136 @@ +; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 6 +; RUN: opt -S -mcpu=neoverse-v2 -passes=loop-vectorize -mtriple=aarch64 < %s | FileCheck %s +target triple = "aarch64" + +; Check that a partial reduction is rever

[llvm-branch-commits] [llvm] [LV] Choose best reduction for VPlan (PR #166138)

2025-11-04 Thread David Sherwood via llvm-branch-commits
@@ -0,0 +1,136 @@ +; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 6 +; RUN: opt -S -mcpu=neoverse-v2 -passes=loop-vectorize -mtriple=aarch64 < %s | FileCheck %s +target triple = "aarch64" + +; Check that a partial reduction is rever

[llvm-branch-commits] [llvm] [LV] Choose best reduction for VPlan (PR #166138)

2025-11-04 Thread David Sherwood via llvm-branch-commits
@@ -0,0 +1,136 @@ +; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 6 +; RUN: opt -S -mcpu=neoverse-v2 -passes=loop-vectorize -mtriple=aarch64 < %s | FileCheck %s +target triple = "aarch64" + +; Check that a partial reduction is rever

[llvm-branch-commits] [llvm] [LV] Choose best reduction for VPlan (PR #166138)

2025-11-04 Thread David Sherwood via llvm-branch-commits
@@ -0,0 +1,136 @@ +; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 6 +; RUN: opt -S -mcpu=neoverse-v2 -passes=loop-vectorize -mtriple=aarch64 < %s | FileCheck %s +target triple = "aarch64" + +; Check that a partial reduction is rever

[llvm-branch-commits] [llvm] [LV] Choose best reduction for VPlan (PR #166138)

2025-11-04 Thread Sushant Gokhale via llvm-branch-commits
@@ -3773,19 +3775,76 @@ static void tryToCreateAbstractReductionRecipe(VPReductionRecipe *Red, AbstractR = ExtRed; // Cannot create abstract inloop reduction recipes. if (!AbstractR) -return; +return false; AbstractR->insertBefore(*VPBB, IP); Red->repla

[llvm-branch-commits] [llvm] [LV] Choose best reduction for VPlan (PR #166138)

2025-11-04 Thread Sushant Gokhale via llvm-branch-commits
@@ -3773,19 +3775,76 @@ static void tryToCreateAbstractReductionRecipe(VPReductionRecipe *Red, AbstractR = ExtRed; // Cannot create abstract inloop reduction recipes. if (!AbstractR) -return; +return false; AbstractR->insertBefore(*VPBB, IP); Red->repla

[llvm-branch-commits] [llvm] [LV] Choose best reduction for VPlan (PR #166138)

2025-11-04 Thread Sushant Gokhale via llvm-branch-commits
@@ -5679,6 +5679,18 @@ InstructionCost AArch64TTIImpl::getPartialReductionCost( if (CostKind != TTI::TCK_RecipThroughput) return Invalid; + unsigned Ratio = + AccumType->getScalarSizeInBits() / InputTypeA->getScalarSizeInBits(); + + // A ratio of 1 would mean it's

[llvm-branch-commits] [llvm] [LV] Choose best reduction for VPlan (PR #166138)

2025-11-04 Thread Sushant Gokhale via llvm-branch-commits
@@ -3773,19 +3775,76 @@ static void tryToCreateAbstractReductionRecipe(VPReductionRecipe *Red, AbstractR = ExtRed; // Cannot create abstract inloop reduction recipes. if (!AbstractR) -return; +return false; AbstractR->insertBefore(*VPBB, IP); Red->repla

[llvm-branch-commits] [llvm] [X86][NewPM] Port X86PartialReduction to NewPM (PR #166048)

2025-11-04 Thread Simon Pilgrim via llvm-branch-commits
https://github.com/RKSimon approved this pull request. LGTM https://github.com/llvm/llvm-project/pull/166048 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] CodeGen: More accurate mayAlias for instructions with multiple MMOs (PR #166211)

2025-11-04 Thread Jay Foad via llvm-branch-commits
https://github.com/jayfoad commented: This patch highlights a problem that I have run into before: _if_ we want to support a single opcode (in this case BUNDLE) that may or may not load or store depending on its operands, then the current definitions of `MachineInstr::mayLoad` and `mayStore` a