[llvm-branch-commits] [llvm] [BOLT] Match functions with pseudo probes (PR #100446)

2025-10-28 Thread Amir Ayupov via llvm-branch-commits
https://github.com/aaupov ready_for_review https://github.com/llvm/llvm-project/pull/100446 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [LoongArch] Override hooks to enable sink-and-fold support in MachineSink (PR #163721)

2025-10-28 Thread Zhaoxin Yang via llvm-branch-commits
https://github.com/ylzsx approved this pull request. https://github.com/llvm/llvm-project/pull/163721 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [BOLT] Match functions with pseudo probes (PR #100446)

2025-10-28 Thread Amir Ayupov via llvm-branch-commits
https://github.com/aaupov edited https://github.com/llvm/llvm-project/pull/100446 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [BOLT] Match functions with pseudo probes (PR #100446)

2025-10-28 Thread Amir Ayupov via llvm-branch-commits
https://github.com/aaupov edited https://github.com/llvm/llvm-project/pull/100446 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [BOLT] Match functions with pseudo probes (PR #100446)

2025-10-28 Thread Amir Ayupov via llvm-branch-commits
https://github.com/aaupov edited https://github.com/llvm/llvm-project/pull/100446 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [BOLT] Match functions with pseudo probes (PR #100446)

2025-10-28 Thread Amir Ayupov via llvm-branch-commits
https://github.com/aaupov edited https://github.com/llvm/llvm-project/pull/100446 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [BOLT] Match functions with pseudo probes (PR #100446)

2025-10-28 Thread Amir Ayupov via llvm-branch-commits
https://github.com/aaupov updated https://github.com/llvm/llvm-project/pull/100446 >From 56b45b104a2ab2dbc4ab8e9643c90092894b579e Mon Sep 17 00:00:00 2001 From: shawbyoung Date: Wed, 24 Jul 2024 11:29:22 -0700 Subject: [PATCH 1/8] Comment Created using spr 1.3.4 --- bolt/include/bolt/Profile/

[llvm-branch-commits] [llvm] [BOLT] Match functions with pseudo probes (PR #100446)

2025-10-28 Thread Amir Ayupov via llvm-branch-commits
https://github.com/aaupov edited https://github.com/llvm/llvm-project/pull/100446 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [BOLT] Match functions with pseudo probes (PR #100446)

2025-10-28 Thread Amir Ayupov via llvm-branch-commits
https://github.com/aaupov edited https://github.com/llvm/llvm-project/pull/100446 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [X86] Remove extra MOV after widening atomic load (PR #148898)

2025-10-28 Thread via llvm-branch-commits
https://github.com/jofrn updated https://github.com/llvm/llvm-project/pull/148898 >From 4e9876d2146de9179f502292ad874e23b29f3bf0 Mon Sep 17 00:00:00 2001 From: jofrn Date: Tue, 15 Jul 2025 13:01:24 -0400 Subject: [PATCH] [X86] Remove extra MOV after widening atomic load This change adds patter

[llvm-branch-commits] [llvm] [AtomicExpand] Add bitcasts when expanding load atomic vector (PR #148900)

2025-10-28 Thread via llvm-branch-commits
https://github.com/jofrn updated https://github.com/llvm/llvm-project/pull/148900 >From cf64a1cfdaad23b2ec81f1f1b9a3ac9df3b9f96e Mon Sep 17 00:00:00 2001 From: jofrn Date: Tue, 15 Jul 2025 13:03:15 -0400 Subject: [PATCH] [AtomicExpand] Add bitcasts when expanding load atomic vector AtomicExpan

[llvm-branch-commits] [llvm] [X86] Cast atomic vectors in IR to support floats (PR #148899)

2025-10-28 Thread via llvm-branch-commits
https://github.com/jofrn updated https://github.com/llvm/llvm-project/pull/148899 >From 804de61af18b448a33005dd28566367f298e8d01 Mon Sep 17 00:00:00 2001 From: jofrn Date: Tue, 15 Jul 2025 13:02:04 -0400 Subject: [PATCH] [X86] Cast atomic vectors in IR to support floats This commit casts float

[llvm-branch-commits] [llvm] [AtomicExpand] Add bitcasts when expanding load atomic vector (PR #148900)

2025-10-28 Thread via llvm-branch-commits
https://github.com/jofrn updated https://github.com/llvm/llvm-project/pull/148900 >From cf64a1cfdaad23b2ec81f1f1b9a3ac9df3b9f96e Mon Sep 17 00:00:00 2001 From: jofrn Date: Tue, 15 Jul 2025 13:03:15 -0400 Subject: [PATCH] [AtomicExpand] Add bitcasts when expanding load atomic vector AtomicExpan

[llvm-branch-commits] [llvm] [X86] Remove extra MOV after widening atomic load (PR #148898)

2025-10-28 Thread via llvm-branch-commits
https://github.com/jofrn updated https://github.com/llvm/llvm-project/pull/148898 >From 4e9876d2146de9179f502292ad874e23b29f3bf0 Mon Sep 17 00:00:00 2001 From: jofrn Date: Tue, 15 Jul 2025 13:01:24 -0400 Subject: [PATCH] [X86] Remove extra MOV after widening atomic load This change adds patter

[llvm-branch-commits] [llvm] [X86] Cast atomic vectors in IR to support floats (PR #148899)

2025-10-28 Thread via llvm-branch-commits
https://github.com/jofrn updated https://github.com/llvm/llvm-project/pull/148899 >From 804de61af18b448a33005dd28566367f298e8d01 Mon Sep 17 00:00:00 2001 From: jofrn Date: Tue, 15 Jul 2025 13:02:04 -0400 Subject: [PATCH] [X86] Cast atomic vectors in IR to support floats This commit casts float

[llvm-branch-commits] [llvm] [BOLT] Match functions with pseudo probes (PR #100446)

2025-10-28 Thread Amir Ayupov via llvm-branch-commits
https://github.com/aaupov updated https://github.com/llvm/llvm-project/pull/100446 >From 56b45b104a2ab2dbc4ab8e9643c90092894b579e Mon Sep 17 00:00:00 2001 From: shawbyoung Date: Wed, 24 Jul 2024 11:29:22 -0700 Subject: [PATCH 1/7] Comment Created using spr 1.3.4 --- bolt/include/bolt/Profile/

[llvm-branch-commits] [llvm] [BOLT][NFC] Split up StaleProfileMatching::matchWeights (PR #165492)

2025-10-28 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-bolt Author: Amir Ayupov (aaupov) Changes Simplify matchWeights in preparation for pseudo probe matching (#100446). Test Plan: NFC --- Full diff: https://github.com/llvm/llvm-project/pull/165492.diff 1 Files Affected: - (modified) bolt/lib/Profile/

[llvm-branch-commits] [llvm] [BOLT][NFC] Split up StaleProfileMatching::matchWeights (PR #165492)

2025-10-28 Thread Amir Ayupov via llvm-branch-commits
https://github.com/aaupov ready_for_review https://github.com/llvm/llvm-project/pull/165492 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [BOLT][NFC] Split up StaleProfileMatching::matchWeights (PR #165492)

2025-10-28 Thread Amir Ayupov via llvm-branch-commits
https://github.com/aaupov edited https://github.com/llvm/llvm-project/pull/165492 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [BOLT] Match functions with pseudo probes (PR #100446)

2025-10-28 Thread Amir Ayupov via llvm-branch-commits
https://github.com/aaupov updated https://github.com/llvm/llvm-project/pull/100446 >From 56b45b104a2ab2dbc4ab8e9643c90092894b579e Mon Sep 17 00:00:00 2001 From: shawbyoung Date: Wed, 24 Jul 2024 11:29:22 -0700 Subject: [PATCH 1/6] Comment Created using spr 1.3.4 --- bolt/include/bolt/Profile/

[llvm-branch-commits] [llvm] [BOLT] Match functions with pseudo probes (PR #100446)

2025-10-28 Thread Amir Ayupov via llvm-branch-commits
https://github.com/aaupov updated https://github.com/llvm/llvm-project/pull/100446 >From 56b45b104a2ab2dbc4ab8e9643c90092894b579e Mon Sep 17 00:00:00 2001 From: shawbyoung Date: Wed, 24 Jul 2024 11:29:22 -0700 Subject: [PATCH 1/6] Comment Created using spr 1.3.4 --- bolt/include/bolt/Profile/

[llvm-branch-commits] [llvm] [BOLT][NFC] Split up StaleProfileMatching::matchWeights (PR #165492)

2025-10-28 Thread Amir Ayupov via llvm-branch-commits
https://github.com/aaupov updated https://github.com/llvm/llvm-project/pull/165492 >From 49643f04d7f915e3f1cd4a58f4d01fa2767221a9 Mon Sep 17 00:00:00 2001 From: Amir Ayupov Date: Tue, 28 Oct 2025 19:57:49 -0700 Subject: [PATCH 1/2] clang-format Created using spr 1.3.4 --- bolt/lib/Profile/Sta

[llvm-branch-commits] [llvm] [BOLT][NFC] Split up StaleProfileMatching::matchWeights (PR #165492)

2025-10-28 Thread Amir Ayupov via llvm-branch-commits
https://github.com/aaupov edited https://github.com/llvm/llvm-project/pull/165492 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [BOLT] Split up StaleProfileMatching::matchWeights (PR #165492)

2025-10-28 Thread Amir Ayupov via llvm-branch-commits
https://github.com/aaupov updated https://github.com/llvm/llvm-project/pull/165492 >From 49643f04d7f915e3f1cd4a58f4d01fa2767221a9 Mon Sep 17 00:00:00 2001 From: Amir Ayupov Date: Tue, 28 Oct 2025 19:57:49 -0700 Subject: [PATCH] clang-format Created using spr 1.3.4 --- bolt/lib/Profile/StalePr

[llvm-branch-commits] [llvm] [BOLT] Split up StaleProfileMatching::matchWeights (PR #165492)

2025-10-28 Thread Amir Ayupov via llvm-branch-commits
https://github.com/aaupov updated https://github.com/llvm/llvm-project/pull/165492 >From 49643f04d7f915e3f1cd4a58f4d01fa2767221a9 Mon Sep 17 00:00:00 2001 From: Amir Ayupov Date: Tue, 28 Oct 2025 19:57:49 -0700 Subject: [PATCH] clang-format Created using spr 1.3.4 --- bolt/lib/Profile/StalePr

[llvm-branch-commits] [llvm] [BOLT] Split up StaleProfileMatching::matchWeights (PR #165492)

2025-10-28 Thread Amir Ayupov via llvm-branch-commits
https://github.com/aaupov edited https://github.com/llvm/llvm-project/pull/165492 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [BOLT] Move call probe information to CallSiteInfo (PR #165490)

2025-10-28 Thread Amir Ayupov via llvm-branch-commits
https://github.com/aaupov edited https://github.com/llvm/llvm-project/pull/165490 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [BOLT] Move call probe information to CallSiteInfo (PR #165490)

2025-10-28 Thread Amir Ayupov via llvm-branch-commits
https://github.com/aaupov edited https://github.com/llvm/llvm-project/pull/165490 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [BOLT] Move call probe information to CallSiteInfo (PR #165490)

2025-10-28 Thread Amir Ayupov via llvm-branch-commits
https://github.com/aaupov updated https://github.com/llvm/llvm-project/pull/165490 >From 9a1c1fdce294e6300348019e49d3720d00d57560 Mon Sep 17 00:00:00 2001 From: Amir Ayupov Date: Tue, 28 Oct 2025 17:19:02 -0700 Subject: [PATCH 1/2] update tests Created using spr 1.3.4 --- bolt/lib/Profile/Sta

[llvm-branch-commits] [llvm] [BOLT] Split up StaleProfileMatching::matchWeights (PR #165492)

2025-10-28 Thread Amir Ayupov via llvm-branch-commits
https://github.com/aaupov updated https://github.com/llvm/llvm-project/pull/165492 >From 49643f04d7f915e3f1cd4a58f4d01fa2767221a9 Mon Sep 17 00:00:00 2001 From: Amir Ayupov Date: Tue, 28 Oct 2025 19:57:49 -0700 Subject: [PATCH] clang-format Created using spr 1.3.4 --- bolt/lib/Profile/StalePr

[llvm-branch-commits] [BOLT] Split up StaleProfileMatching::matchWeights (PR #165492)

2025-10-28 Thread Amir Ayupov via llvm-branch-commits
https://github.com/aaupov updated https://github.com/llvm/llvm-project/pull/165492 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [BOLT] Split up StaleProfileMatching::matchWeights (PR #165492)

2025-10-28 Thread Amir Ayupov via llvm-branch-commits
https://github.com/aaupov updated https://github.com/llvm/llvm-project/pull/165492 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [BOLT] Lookup top-level inline tree node in YAMLProfileWriter (PR #165491)

2025-10-28 Thread Amir Ayupov via llvm-branch-commits
https://github.com/aaupov edited https://github.com/llvm/llvm-project/pull/165491 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [BOLT] Lookup top-level inline tree node in YAMLProfileWriter (PR #165491)

2025-10-28 Thread Amir Ayupov via llvm-branch-commits
https://github.com/aaupov updated https://github.com/llvm/llvm-project/pull/165491 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [BOLT] Lookup top-level inline tree node in YAMLProfileWriter (PR #165491)

2025-10-28 Thread Amir Ayupov via llvm-branch-commits
https://github.com/aaupov updated https://github.com/llvm/llvm-project/pull/165491 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [BOLT] Move call probe information to CallSiteInfo (PR #165490)

2025-10-28 Thread Amir Ayupov via llvm-branch-commits
https://github.com/aaupov edited https://github.com/llvm/llvm-project/pull/165490 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [BOLT] Move call probe information to CallSiteInfo (PR #165490)

2025-10-28 Thread Amir Ayupov via llvm-branch-commits
https://github.com/aaupov ready_for_review https://github.com/llvm/llvm-project/pull/165490 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [BOLT] Move call probe information to CallSiteInfo (PR #165490)

2025-10-28 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-bolt Author: Amir Ayupov (aaupov) Changes Pseudo probe matching (#100446) needs callee information for call probes. Embed call probe information (probe id, inline tree node, indirect flag) into CallSiteInfo. This allows the following: - Remove call prob

[llvm-branch-commits] [llvm] [BOLT] Move call probe information to CallSiteInfo (PR #165490)

2025-10-28 Thread Amir Ayupov via llvm-branch-commits
https://github.com/aaupov edited https://github.com/llvm/llvm-project/pull/165490 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [BOLT] Move call probe information to CallSiteInfo (PR #165490)

2025-10-28 Thread Amir Ayupov via llvm-branch-commits
https://github.com/aaupov updated https://github.com/llvm/llvm-project/pull/165490 >From 9a1c1fdce294e6300348019e49d3720d00d57560 Mon Sep 17 00:00:00 2001 From: Amir Ayupov Date: Tue, 28 Oct 2025 17:19:02 -0700 Subject: [PATCH] update tests Created using spr 1.3.4 --- bolt/lib/Profile/StalePr

[llvm-branch-commits] [BOLT] Move call probe information to CallSiteInfo (PR #165490)

2025-10-28 Thread Amir Ayupov via llvm-branch-commits
https://github.com/aaupov edited https://github.com/llvm/llvm-project/pull/165490 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [BOLT] Move call probe information to CallSiteInfo (PR #165490)

2025-10-28 Thread Amir Ayupov via llvm-branch-commits
https://github.com/aaupov edited https://github.com/llvm/llvm-project/pull/165490 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [BOLT] Split up StaleProfileMatching::matchWeights (PR #165492)

2025-10-28 Thread via llvm-branch-commits
github-actions[bot] wrote: :warning: C/C++ code formatter, clang-format found issues in your code. :warning: You can test this locally with the following command: ``bash git-clang-format --diff origin/main HEAD --extensions cpp -- bolt/lib/Profile/StaleProfileMatching.cpp ``

[llvm-branch-commits] [llvm] [BOLT] Match functions with pseudo probes (PR #100446)

2025-10-28 Thread Amir Ayupov via llvm-branch-commits
https://github.com/aaupov updated https://github.com/llvm/llvm-project/pull/100446 >From 56b45b104a2ab2dbc4ab8e9643c90092894b579e Mon Sep 17 00:00:00 2001 From: shawbyoung Date: Wed, 24 Jul 2024 11:29:22 -0700 Subject: [PATCH 1/6] Comment Created using spr 1.3.4 --- bolt/include/bolt/Profile/

[llvm-branch-commits] [llvm] [BOLT] Match functions with pseudo probes (PR #100446)

2025-10-28 Thread Amir Ayupov via llvm-branch-commits
https://github.com/aaupov updated https://github.com/llvm/llvm-project/pull/100446 >From 56b45b104a2ab2dbc4ab8e9643c90092894b579e Mon Sep 17 00:00:00 2001 From: shawbyoung Date: Wed, 24 Jul 2024 11:29:22 -0700 Subject: [PATCH 1/6] Comment Created using spr 1.3.4 --- bolt/include/bolt/Profile/

[llvm-branch-commits] [BOLT] Lookup top-level inline tree node in YAMLProfileWriter (PR #165491)

2025-10-28 Thread Amir Ayupov via llvm-branch-commits
https://github.com/aaupov created https://github.com/llvm/llvm-project/pull/165491 None ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [BOLT] Allow name matching stale profiles under infer-stale-profile (PR #165493)

2025-10-28 Thread Amir Ayupov via llvm-branch-commits
https://github.com/aaupov created https://github.com/llvm/llvm-project/pull/165493 None ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [BOLT] Split up StaleProfileMatching::matchWeights (PR #165492)

2025-10-28 Thread Amir Ayupov via llvm-branch-commits
https://github.com/aaupov created https://github.com/llvm/llvm-project/pull/165492 This temporarily disables pseudo probe matching, to be reenabled in a follow-up Test Plan: NFC (except probe matching) ___ llvm-branch-commits mailing list llvm-bran

[llvm-branch-commits] [BOLT] Move call probe information to CallSiteInfo (PR #165490)

2025-10-28 Thread Amir Ayupov via llvm-branch-commits
https://github.com/aaupov created https://github.com/llvm/llvm-project/pull/165490 None ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [compiler-rt] [compiler-rt] Default to Lit's Internal Shell (PR #165148)

2025-10-28 Thread Vitaly Buka via llvm-branch-commits
https://github.com/vitalybuka approved this pull request. https://github.com/llvm/llvm-project/pull/165148 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [DirectX] Add DXIL validation of `llvm.loop` metadata (PR #164292)

2025-10-28 Thread Finn Plummer via llvm-branch-commits
https://github.com/inbelic updated https://github.com/llvm/llvm-project/pull/164292 >From 868c42bbd41aae5c43c89dd653d949418ec914f1 Mon Sep 17 00:00:00 2001 From: Finn Plummer Date: Fri, 17 Oct 2025 10:17:32 -0700 Subject: [PATCH 01/18] [DirectX] add a DXILValidateMetadata pass --- llvm/docs/D

[llvm-branch-commits] [llvm] [DirectX] Add DXIL validation of `llvm.loop` metadata (PR #164292)

2025-10-28 Thread Finn Plummer via llvm-branch-commits
@@ -24,9 +24,9 @@ _Z4mainDv3_j.exit:; preds = %for.body.i, %entry ; These next check lines check that only the range metadata remains ; No more metadata should be necessary, the rest (the current 0 and 1) ; should be removed. -; CHECK-NOT: !{!"l

[llvm-branch-commits] [llvm] [DirectX] Add DXIL validation of `llvm.loop` metadata (PR #164292)

2025-10-28 Thread Finn Plummer via llvm-branch-commits
@@ -24,9 +24,9 @@ _Z4mainDv3_j.exit:; preds = %for.body.i, %entry ; These next check lines check that only the range metadata remains ; No more metadata should be necessary, the rest (the current 0 and 1) ; should be removed. -; CHECK-NOT: !{!"l

[llvm-branch-commits] [llvm] [SDAG] Set InBounds when when computing offsets into memory objects (PR #165425)

2025-10-28 Thread Alexander Richardson via llvm-branch-commits
@@ -5626,17 +5626,31 @@ class LLVM_ABI TargetLowering : public TargetLoweringBase { /// Get a pointer to vector element \p Idx located in memory for a vector of /// type \p VecVT starting at a base address of \p VecPtr. If \p Idx is out of /// bounds the returned pointe

[llvm-branch-commits] [llvm] [SDAG] Set InBounds when when computing offsets into memory objects (PR #165425)

2025-10-28 Thread Alexander Richardson via llvm-branch-commits
https://github.com/arichardson approved this pull request. https://github.com/llvm/llvm-project/pull/165425 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

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

2025-10-28 Thread Gergely Bálint via llvm-branch-commits
https://github.com/bgergely0 updated https://github.com/llvm/llvm-project/pull/165227 From 3c93c92e2edcc22ae935630051f44175b3dfc0d5 Mon Sep 17 00:00:00 2001 From: Gergely Balint Date: Mon, 27 Oct 2025 09:29:54 + Subject: [PATCH 1/2] [BOLT][PAC] Warn about synchronous unwind tables BOLT cur

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

2025-10-28 Thread Gergely Bálint via llvm-branch-commits
https://github.com/bgergely0 updated https://github.com/llvm/llvm-project/pull/164622 From b716be0d8a8c09216a46597692fd017bf935bafc Mon Sep 17 00:00:00 2001 From: Gergely Balint Date: Wed, 22 Oct 2025 12:44:37 + Subject: [PATCH] [BOLT][NFC] Rename Pointer Auth DWARF rewriter passes Origina

[llvm-branch-commits] [llvm] [AMDGPU][SDAG] Only fold flat offsets if they are inbounds PTRADDs (PR #165427)

2025-10-28 Thread Fabian Ritter via llvm-branch-commits
https://github.com/ritter-x2a ready_for_review https://github.com/llvm/llvm-project/pull/165427 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [AMDGPU][SDAG] Only fold flat offsets if they are inbounds PTRADDs (PR #165427)

2025-10-28 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-amdgpu Author: Fabian Ritter (ritter-x2a) Changes For flat memory instructions where the address is supplied as a base address register with an immediate offset, the memory aperture test ignores the immediate offset. Currently, SDISel does not re

[llvm-branch-commits] [llvm] [AMDGPU][NFC] Mark GEPs in flat offset folding tests as inbounds (PR #165426)

2025-10-28 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-amdgpu Author: Fabian Ritter (ritter-x2a) Changes This is in preparation for a patch that will only fold offsets into flat instructions if their addition is inbounds. Marking the GEPs inbounds here means that their output won't change with the la

[llvm-branch-commits] [llvm] [SDAG] Set InBounds when when computing offsets into memory objects (PR #165425)

2025-10-28 Thread Fabian Ritter via llvm-branch-commits
ritter-x2a wrote: > [!WARNING] > This pull request is not mergeable via GitHub because a downstack PR is > open. Once all requirements are satisfied, merge this PR as a stack href="https://app.graphite.dev/github/pr/llvm/llvm-project/165425?utm_source=stack-comment-downstack-mergeability-warnin

[llvm-branch-commits] [llvm] [SDAG] Set InBounds when when computing offsets into memory objects (PR #165425)

2025-10-28 Thread Fabian Ritter via llvm-branch-commits
https://github.com/ritter-x2a created https://github.com/llvm/llvm-project/pull/165425 When a load or store accesses N bytes starting from a pointer P, and we want to compute an offset pointer within these N bytes after P, we know that the arithmetic to add the offset must be inbounds. This is f

[llvm-branch-commits] [llvm] [AMDGPU][NFC] Mark GEPs in flat offset folding tests as inbounds (PR #165426)

2025-10-28 Thread Fabian Ritter via llvm-branch-commits
ritter-x2a wrote: > [!WARNING] > This pull request is not mergeable via GitHub because a downstack PR is > open. Once all requirements are satisfied, merge this PR as a stack href="https://app.graphite.dev/github/pr/llvm/llvm-project/165426?utm_source=stack-comment-downstack-mergeability-warnin

[llvm-branch-commits] [llvm] [AMDGPU][NFC] Mark GEPs in flat offset folding tests as inbounds (PR #165426)

2025-10-28 Thread Fabian Ritter via llvm-branch-commits
https://github.com/ritter-x2a ready_for_review https://github.com/llvm/llvm-project/pull/165426 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [SDAG] Set InBounds when when computing offsets into memory objects (PR #165425)

2025-10-28 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-llvm-selectiondag Author: Fabian Ritter (ritter-x2a) Changes When a load or store accesses N bytes starting from a pointer P, and we want to compute an offset pointer within these N bytes after P, we know that the arithmetic to add the offset must be inb

[llvm-branch-commits] [llvm] [SDAG] Set InBounds when when computing offsets into memory objects (PR #165425)

2025-10-28 Thread Fabian Ritter via llvm-branch-commits
https://github.com/ritter-x2a ready_for_review https://github.com/llvm/llvm-project/pull/165425 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [AMDGPU][SDAG] Only fold flat offsets if they are inbounds PTRADDs (PR #165427)

2025-10-28 Thread Fabian Ritter via llvm-branch-commits
ritter-x2a wrote: > [!WARNING] > This pull request is not mergeable via GitHub because a downstack PR is > open. Once all requirements are satisfied, merge this PR as a stack href="https://app.graphite.dev/github/pr/llvm/llvm-project/165427?utm_source=stack-comment-downstack-mergeability-warnin

[llvm-branch-commits] [llvm] [DA] Check nsw when extracting a constant operand of SCEVMul (PR #164408)

2025-10-28 Thread Michael Kruse via llvm-branch-commits
@@ -2828,8 +2828,9 @@ static std::optional getConstantPart(const SCEV *Expr) { if (const auto *Constant = dyn_cast(Expr)) return Constant->getAPInt(); if (const auto *Product = dyn_cast(Expr)) -if (const auto *Constant = dyn_cast(Product->getOperand(0))) - ret

[llvm-branch-commits] [llvm] [DA] Check nsw when extracting a constant operand of SCEVMul (PR #164408)

2025-10-28 Thread Michael Kruse via llvm-branch-commits
https://github.com/Meinersbur approved this pull request. LGTM https://github.com/llvm/llvm-project/pull/164408 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [DA] Check nsw when extracting a constant operand of SCEVMul (PR #164408)

2025-10-28 Thread Michael Kruse via llvm-branch-commits
https://github.com/Meinersbur edited https://github.com/llvm/llvm-project/pull/164408 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

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

2025-10-28 Thread Peter Waller via llvm-branch-commits
peterwaller-arm wrote: There is a sync bot but you save it creating a commit if you fix it here. It will save some thrashing if it is a part of your patch in the unlucky event it gets reverted. It's not mandatory to fix the gn build but there is also not hard to keep it up to date in this case

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

2025-10-28 Thread Gergely Bálint via llvm-branch-commits
bgergely0 wrote: Updated the rest. https://github.com/llvm/llvm-project/pull/164622 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

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

2025-10-28 Thread Gergely Bálint via llvm-branch-commits
https://github.com/bgergely0 updated https://github.com/llvm/llvm-project/pull/165227 From b600e5638fc83a884c9a4b98b1dee20b0589d60b Mon Sep 17 00:00:00 2001 From: Gergely Balint Date: Mon, 27 Oct 2025 09:29:54 + Subject: [PATCH 1/2] [BOLT][PAC] Warn about synchronous unwind tables BOLT cur

[llvm-branch-commits] [clang] [NFC][HIP] Add __builtin_*_load_lds type check test cases (PR #165388)

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

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

2025-10-28 Thread Gergely Bálint via llvm-branch-commits
https://github.com/bgergely0 updated https://github.com/llvm/llvm-project/pull/164622 From 3d0b6143f72fd09c20335076624022ed91d4fd03 Mon Sep 17 00:00:00 2001 From: Gergely Balint Date: Wed, 22 Oct 2025 12:44:37 + Subject: [PATCH] [BOLT][NFC] Rename Pointer Auth DWARF rewriter passes Origina

[llvm-branch-commits] [clang] [HIP][AMDGPU] Remove 't' from all __builtin_*_load_lds builtins (PR #165389)

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

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

2025-10-28 Thread Gergely Bálint via llvm-branch-commits
https://github.com/bgergely0 updated https://github.com/llvm/llvm-project/pull/165227 From b600e5638fc83a884c9a4b98b1dee20b0589d60b Mon Sep 17 00:00:00 2001 From: Gergely Balint Date: Mon, 27 Oct 2025 09:29:54 + Subject: [PATCH 1/2] [BOLT][PAC] Warn about synchronous unwind tables BOLT cur

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

2025-10-28 Thread Frederik Harwath via llvm-branch-commits
@@ -1126,13 +1130,23 @@ PreservedAnalyses ExpandFpPass::run(Function &F, FunctionAnalysisManager &FAM) { AssumptionCache *AC = nullptr; if (OptLevel != CodeGenOptLevel::None) AC = &FAM.getResult(F); + + auto &MAMProxy = FAM.getResult(F); + const RTLIB::RuntimeLibcall

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

2025-10-28 Thread Gergely Bálint via llvm-branch-commits
bgergely0 wrote: Thanks for catching these! For the BUILD.gn, I'm not sure if I should change these: they were added by "LLVM GN Syncbot" in `008294c0ccec9`, I assume it is able to change them as well? https://github.com/llvm/llvm-project/pull/164622 _

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

2025-10-28 Thread Frederik Harwath via llvm-branch-commits
https://github.com/frederik-h approved this pull request. https://github.com/llvm/llvm-project/pull/165197 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

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

2025-10-28 Thread Peter Waller via llvm-branch-commits
@@ -133,11 +140,17 @@ Error PointerAuthCFIAnalyzer::runOnFunctions(BinaryContext &BC) { ParallelUtilities::runOnEachFunction( BC, ParallelUtilities::SchedulingPolicy::SP_INST_LINEAR, WorkFun, SkipPredicate, "PointerAuthCFIAnalyzer"); + + float IgnoredPercent = (

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

2025-10-28 Thread Peter Waller via llvm-branch-commits
peterwaller-arm wrote: I found a handful of references to MarkRAStates and one reference to InsertNegateRAStatePass: ``` bolt/lib/Core/Exceptions.cpp 575:// out the state of each instruction in MarkRAStates Pass. 586:// out the state of each instruction in MarkRAStates Pass. 655

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

2025-10-28 Thread Frederik Harwath via llvm-branch-commits
@@ -1126,13 +1130,23 @@ PreservedAnalyses ExpandFpPass::run(Function &F, FunctionAnalysisManager &FAM) { AssumptionCache *AC = nullptr; if (OptLevel != CodeGenOptLevel::None) AC = &FAM.getResult(F); + + auto &MAMProxy = FAM.getResult(F); + const RTLIB::RuntimeLibcall

[llvm-branch-commits] [compiler-rt] 06df5cf - Revert "[nsan] More unit tests for `float128`. (#165248)"

2025-10-28 Thread via llvm-branch-commits
Author: Clement Courbet Date: 2025-10-28T14:37:35+01:00 New Revision: 06df5cfc6514b2de623f79680459725552f63910 URL: https://github.com/llvm/llvm-project/commit/06df5cfc6514b2de623f79680459725552f63910 DIFF: https://github.com/llvm/llvm-project/commit/06df5cfc6514b2de623f79680459725552f63910.dif

[llvm-branch-commits] [clang] [HIP][AMDGPU] Remove 't' from all __builtin_*_load_lds builtins (PR #165389)

2025-10-28 Thread Juan Manuel Martinez Caamaño via llvm-branch-commits
https://github.com/jmmartinez edited https://github.com/llvm/llvm-project/pull/165389 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang] [NFC][HIP] Add __builtin_*_load_lds type check test cases (PR #165388)

2025-10-28 Thread Juan Manuel Martinez Caamaño via llvm-branch-commits
https://github.com/jmmartinez edited https://github.com/llvm/llvm-project/pull/165388 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang] [NFC][HIP] Add __builtin_*_load_lds type check test cases (PR #165388)

2025-10-28 Thread Juan Manuel Martinez Caamaño via llvm-branch-commits
https://github.com/jmmartinez edited https://github.com/llvm/llvm-project/pull/165388 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang] [NFC][HIP] Add __builtin_*_load_lds type check test cases (PR #165388)

2025-10-28 Thread Juan Manuel Martinez Caamaño via llvm-branch-commits
https://github.com/jmmartinez edited https://github.com/llvm/llvm-project/pull/165388 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang] [NFC][HIP] Add __builtin_*_load_lds type check test cases (PR #165388)

2025-10-28 Thread Juan Manuel Martinez Caamaño via llvm-branch-commits
https://github.com/jmmartinez edited https://github.com/llvm/llvm-project/pull/165388 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang] [HIP][AMDGPU] Remove 't' from all __builtin_*_load_lds builtins (PR #165389)

2025-10-28 Thread Juan Manuel Martinez Caamaño via llvm-branch-commits
https://github.com/jmmartinez edited https://github.com/llvm/llvm-project/pull/165389 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang] [NFC][HIP] Add __builtin_*_load_lds type check test cases (PR #165388)

2025-10-28 Thread Juan Manuel Martinez Caamaño via llvm-branch-commits
https://github.com/jmmartinez edited https://github.com/llvm/llvm-project/pull/165388 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang] [NFC][HIP] Add __builtin_*_load_lds type check test cases (PR #165388)

2025-10-28 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-amdgpu Author: Juan Manuel Martinez Caamaño (jmmartinez) Changes [NFC][HIP] Add __builtin_*_load_lds type check test cases This tests show how typechecking is performed for __builtin_amdgcn_load_to_lds, but not for __builtin_amdgcn_raw_ptr_buffe

[llvm-branch-commits] [clang] [HIP][AMDGPU] Remove 't' from all __builtin_*_load_lds builtins (PR #165389)

2025-10-28 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Juan Manuel Martinez Caamaño (jmmartinez) Changes [HIP][AMDGPU] Remove 't' from all __builtin_*_load_lds builtins Allows for type checking depending on the builtin signature. --- Full diff: https://github.com/llvm/llvm-project/pull/165389

[llvm-branch-commits] [clang] [HIP][AMDGPU] Remove 't' from all __builtin_*_load_lds builtins (PR #165389)

2025-10-28 Thread Juan Manuel Martinez Caamaño via llvm-branch-commits
https://github.com/jmmartinez updated https://github.com/llvm/llvm-project/pull/165389 From 8fdc08da6086fb9c4917c52d9133a33569aa06bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Manuel=20Martinez=20Caama=C3=B1o?= Date: Tue, 28 Oct 2025 13:47:36 +0100 Subject: [PATCH] [HIP][AMDGPU] Remove 't

[llvm-branch-commits] [clang] [HIP][AMDGPU] Remove 't' from all __builtin_*_load_lds builtins (PR #165389)

2025-10-28 Thread Juan Manuel Martinez Caamaño via llvm-branch-commits
https://github.com/jmmartinez updated https://github.com/llvm/llvm-project/pull/165389 From 8fdc08da6086fb9c4917c52d9133a33569aa06bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Manuel=20Martinez=20Caama=C3=B1o?= Date: Tue, 28 Oct 2025 13:47:36 +0100 Subject: [PATCH] [HIP][AMDGPU] Remove 't

[llvm-branch-commits] [clang] [NFC][HIP] Add __builtin_*_load_lds type check test cases (PR #165388)

2025-10-28 Thread Juan Manuel Martinez Caamaño via llvm-branch-commits
https://github.com/jmmartinez updated https://github.com/llvm/llvm-project/pull/165388 From 8d08a6ef45d037b092fb7f542af768c617e4a08e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Manuel=20Martinez=20Caama=C3=B1o?= Date: Tue, 28 Oct 2025 13:29:49 +0100 Subject: [PATCH] [NFC][HIP] Add __builti

[llvm-branch-commits] [clang] [HIP][AMDGPU] Remove 't' from all __builtin_*_load_lds builtins (PR #165389)

2025-10-28 Thread Juan Manuel Martinez Caamaño via llvm-branch-commits
https://github.com/jmmartinez created https://github.com/llvm/llvm-project/pull/165389 [HIP][AMDGPU] Remove 't' from all __builtin_*_load_lds builtins Allows for type checking depending on the builtin signature. From 4a543a080838e99afe214cec7f8460f3f7b169d8 Mon Sep 17 00:00:00 2001 From: =?UTF

[llvm-branch-commits] [clang] [NFC][HIP] Add __builtin_*_load_lds type check test cases (PR #165388)

2025-10-28 Thread Juan Manuel Martinez Caamaño via llvm-branch-commits
https://github.com/jmmartinez created https://github.com/llvm/llvm-project/pull/165388 [NFC][HIP] Add __builtin_*_load_lds type check test cases This tests show how typechecking is performed for __builtin_amdgcn_load_to_lds, but not for __builtin_amdgcn_raw_ptr_buffer_load_lds, __builtin_amdgcn

[llvm-branch-commits] [clang] [NFC][HIP] Add __builtin_*_load_lds type check test cases (PR #165388)

2025-10-28 Thread Juan Manuel Martinez Caamaño via llvm-branch-commits
https://github.com/jmmartinez updated https://github.com/llvm/llvm-project/pull/165388 From 8d08a6ef45d037b092fb7f542af768c617e4a08e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Manuel=20Martinez=20Caama=C3=B1o?= Date: Tue, 28 Oct 2025 13:29:49 +0100 Subject: [PATCH] [NFC][HIP] Add __builti

[llvm-branch-commits] [libcxx] Add Testing Configuration for LLVM libc (PR #165120)

2025-10-28 Thread Nikolas Klauser via llvm-branch-commits
philnik777 wrote: > > Do you know roughly how many tests are affected? If it's not too many maybe > > we should simply XFAIL them for LLVM libc and update them as new features > > get implemented? > > There are a couple hundred currently. Most are due to #85335, so I think we > might want to

  1   2   >