[llvm-branch-commits] [clang] release/19.x: [Clang] Fix crash due to invalid source location in __is_trivially_equality_comparable (#107815) (PR #108147)

2024-09-10 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: None (llvmbot) Changes Backport 6dbdb84 Requested by: @philnik777 --- Full diff: https://github.com/llvm/llvm-project/pull/108147.diff 2 Files Affected: - (modified) clang/lib/Sema/SemaExprCXX.cpp (+2-1) - (modified) clang/test/SemaCX

[llvm-branch-commits] [clang] release/19.x: [Clang] Fix crash due to invalid source location in __is_trivially_equality_comparable (#107815) (PR #108147)

2024-09-10 Thread via llvm-branch-commits
llvmbot wrote: @DimitryAndric What do you think about merging this PR to the release branch? https://github.com/llvm/llvm-project/pull/108147 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman

[llvm-branch-commits] [clang] release/19.x: [Clang] Fix crash due to invalid source location in __is_trivially_equality_comparable (#107815) (PR #108147)

2024-09-10 Thread via llvm-branch-commits
https://github.com/llvmbot milestoned https://github.com/llvm/llvm-project/pull/108147 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang] release/19.x: [Clang] Fix crash due to invalid source location in __is_trivially_equality_comparable (#107815) (PR #108147)

2024-09-10 Thread via llvm-branch-commits
https://github.com/llvmbot created https://github.com/llvm/llvm-project/pull/108147 Backport 6dbdb84 Requested by: @philnik777 >From 94ceefd28c894b52a760a8127c414e2f1b7d3165 Mon Sep 17 00:00:00 2001 From: Nikolas Klauser Date: Wed, 11 Sep 2024 08:47:24 +0200 Subject: [PATCH] [Clang] Fix crash

[llvm-branch-commits] [compiler-rt] 00b2d78 - Revert "[scudo] Fix the logic of MaxAllowedFragmentedPages (#107927)"

2024-09-10 Thread via llvm-branch-commits
Author: ChiaHungDuan Date: 2024-09-10T18:55:12-07:00 New Revision: 00b2d78142495605c0c01f9228620a96b5b949d3 URL: https://github.com/llvm/llvm-project/commit/00b2d78142495605c0c01f9228620a96b5b949d3 DIFF: https://github.com/llvm/llvm-project/commit/00b2d78142495605c0c01f9228620a96b5b949d3.diff

[llvm-branch-commits] [compiler-rt] eceac8e - Revert "Revert "[sanitizer] Add CHECKs to validate calculated TLS range" (#10…"

2024-09-10 Thread via llvm-branch-commits
Author: Vitaly Buka Date: 2024-09-10T17:46:05-07:00 New Revision: eceac8e53357b8d91f047f7a5fe954d987e05e53 URL: https://github.com/llvm/llvm-project/commit/eceac8e53357b8d91f047f7a5fe954d987e05e53 DIFF: https://github.com/llvm/llvm-project/commit/eceac8e53357b8d91f047f7a5fe954d987e05e53.diff L

[llvm-branch-commits] [compiler-rt] a7d156a - Revert "[sanitizer] Add CHECKs to validate calculated TLS range (#107941)"

2024-09-10 Thread via llvm-branch-commits
Author: Florian Mayer Date: 2024-09-10T16:12:46-07:00 New Revision: a7d156a7021ba9d72648a1c68668deb08a75a7ab URL: https://github.com/llvm/llvm-project/commit/a7d156a7021ba9d72648a1c68668deb08a75a7ab DIFF: https://github.com/llvm/llvm-project/commit/a7d156a7021ba9d72648a1c68668deb08a75a7ab.diff

[llvm-branch-commits] [llvm] 7ff656c - Revert "[llvm-lit] Process ANSI color codes in test output when formatting (#…"

2024-09-10 Thread via llvm-branch-commits
Author: Henrik G. Olsson Date: 2024-09-10T15:13:50-07:00 New Revision: 7ff656c48487213e52d9035f28877482d2cd86e2 URL: https://github.com/llvm/llvm-project/commit/7ff656c48487213e52d9035f28877482d2cd86e2 DIFF: https://github.com/llvm/llvm-project/commit/7ff656c48487213e52d9035f28877482d2cd86e2.di

[llvm-branch-commits] [libcxx] 72cfc74 - Revert "[libc++][string] Remove potential non-trailing 0-length array (#105865)"

2024-09-10 Thread via llvm-branch-commits
Author: Daniel Thornburgh Date: 2024-09-10T14:07:49-07:00 New Revision: 72cfc74a7c5cea78b174b668f6accaa955742a51 URL: https://github.com/llvm/llvm-project/commit/72cfc74a7c5cea78b174b668f6accaa955742a51 DIFF: https://github.com/llvm/llvm-project/commit/72cfc74a7c5cea78b174b668f6accaa955742a51.d

[llvm-branch-commits] [BOLT] Drop blocks without profile in BAT YAML (PR #107970)

2024-09-10 Thread Amir Ayupov via llvm-branch-commits
https://github.com/aaupov edited https://github.com/llvm/llvm-project/pull/107970 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [BOLT] Add pseudo probe inline tree to YAML profile (PR #107137)

2024-09-10 Thread Amir Ayupov via llvm-branch-commits
https://github.com/aaupov updated https://github.com/llvm/llvm-project/pull/107137 >From 50c021b09950cf7d6a8f25b1ac0dec246f2325f5 Mon Sep 17 00:00:00 2001 From: Amir Ayupov Date: Tue, 3 Sep 2024 11:38:04 -0700 Subject: [PATCH 1/3] update pseudoprobe-decoding-inline.test Created using spr 1.3.4

[llvm-branch-commits] [llvm] [BOLT] Match blocks with pseudo probes (PR #99891)

2024-09-10 Thread Amir Ayupov via llvm-branch-commits
https://github.com/aaupov updated https://github.com/llvm/llvm-project/pull/99891 >From 36197b175681d07b4704e576fb008cec3cc1e05e Mon Sep 17 00:00:00 2001 From: Amir Ayupov Date: Wed, 28 Aug 2024 21:10:25 +0200 Subject: [PATCH 1/2] Reworked block probe matching Use new probe ifaces Get all func

[llvm-branch-commits] [llvm] [BOLT] Match blocks with pseudo probes (PR #99891)

2024-09-10 Thread Amir Ayupov via llvm-branch-commits
https://github.com/aaupov updated https://github.com/llvm/llvm-project/pull/99891 >From 36197b175681d07b4704e576fb008cec3cc1e05e Mon Sep 17 00:00:00 2001 From: Amir Ayupov Date: Wed, 28 Aug 2024 21:10:25 +0200 Subject: [PATCH 1/2] Reworked block probe matching Use new probe ifaces Get all func

[llvm-branch-commits] [llvm] d92f149 - Revert "Revert "[amdgpu] Add llvm.amdgcn.init.whole.wave intrinsic" (#108054)"

2024-09-10 Thread via llvm-branch-commits
Author: Vitaly Buka Date: 2024-09-10T09:52:01-07:00 New Revision: d92f149c714225128f2fcc4eac7cc8d5febfb0bf URL: https://github.com/llvm/llvm-project/commit/d92f149c714225128f2fcc4eac7cc8d5febfb0bf DIFF: https://github.com/llvm/llvm-project/commit/d92f149c714225128f2fcc4eac7cc8d5febfb0bf.diff L

[llvm-branch-commits] [llvm] 55c2b8c - Revert "[amdgpu] Add llvm.amdgcn.init.whole.wave intrinsic (#105822)"

2024-09-10 Thread via llvm-branch-commits
Author: Vitaly Buka Date: 2024-09-10T09:49:58-07:00 New Revision: 55c2b8c9cb9ebf9308746226abb7110431367015 URL: https://github.com/llvm/llvm-project/commit/55c2b8c9cb9ebf9308746226abb7110431367015 DIFF: https://github.com/llvm/llvm-project/commit/55c2b8c9cb9ebf9308746226abb7110431367015.diff L

[llvm-branch-commits] [llvm] [BOLT] Add pseudo probe inline tree to YAML profile (PR #107137)

2024-09-10 Thread Amir Ayupov via llvm-branch-commits
https://github.com/aaupov edited https://github.com/llvm/llvm-project/pull/107137 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] release/19.x: [Windows SEH] Fix crash on empty seh block (#107031) (PR #107466)

2024-09-10 Thread via llvm-branch-commits
R-Goc wrote: Indeed depending on specific optimizations sometimes there is a crash and sometimes there isn't. There are cases where clang 17 won't compile but clang 18 will, or where clang 20 will compile but clang 18 won't. Or none will compile at all. https://github.com/llvm/llvm-project/p

[llvm-branch-commits] [llvm] release/19.x: [Windows SEH] Fix crash on empty seh block (#107031) (PR #107466)

2024-09-10 Thread Jessica Clarke via llvm-branch-commits
https://github.com/jrtc27 approved this pull request. This should be low risk. If the condition holds, it would previously dereference an invalid iterator, and either crash immediately thanks to assertions or use whatever junk's in memory. Now it will treat it the same as if there's an immedia

[llvm-branch-commits] release/19.x: [llvm][CodeGen] Resolve issues when updating live intervals in window scheduler (#101945) (PR #107338)

2024-09-10 Thread Hua Tian via llvm-branch-commits
huaatian wrote: > this was merged - not sure why github shows it as closed instead. Okay, I see that this PR has already been merged. Thank you! https://github.com/llvm/llvm-project/pull/107338 ___ llvm-branch-commits mailing list llvm-branch-commits@

[llvm-branch-commits] [mlir] [mlir][GPU] Plumb range information through the NVVM lowerings (PR #107659)

2024-09-10 Thread Krzysztof Drewniak via llvm-branch-commits
https://github.com/krzysz00 edited https://github.com/llvm/llvm-project/pull/107659 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [BOLT] Add pseudo probe inline tree to YAML profile (PR #107137)

2024-09-10 Thread Amir Ayupov via llvm-branch-commits
https://github.com/aaupov edited https://github.com/llvm/llvm-project/pull/107137 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] release/19.x: [LoongArch] Eliminate the redundant sign extension of division (#107971) (PR #107990)

2024-09-10 Thread via llvm-branch-commits
heiher wrote: It seems that the patch created by the bot is incomplete. I'm not sure if it will automatically update after #107945 is merged. If not, it may be necessary to re-trigger the cherry-pick. https://github.com/llvm/llvm-project/pull/107990

[llvm-branch-commits] release/19.x: [llvm][CodeGen] Resolve issues when updating live intervals in window scheduler (#101945) (PR #107338)

2024-09-10 Thread Tobias Hieta via llvm-branch-commits
tru wrote: this was merged - not sure why github shows it as closed instead. https://github.com/llvm/llvm-project/pull/107338 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-b

[llvm-branch-commits] [clang] [clang-format] Correctly annotate braces in macro definition (#107352) (PR #107531)

2024-09-10 Thread via llvm-branch-commits
github-actions[bot] wrote: @owenca (or anyone else). If you would like to add a note about this fix in the release notes (completely optional). Please reply to this comment with a one or two sentence description of the fix. When you are done, please add the release:note label to this PR. ht

[llvm-branch-commits] [clang] [clang-format] Correctly annotate braces in macro definition (#107352) (PR #107531)

2024-09-10 Thread Tobias Hieta via llvm-branch-commits
https://github.com/tru closed https://github.com/llvm/llvm-project/pull/107531 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang] 327ca6c - [clang-format] Correctly annotate braces in macro definition (#107352)

2024-09-10 Thread Tobias Hieta via llvm-branch-commits
Author: Owen Pan Date: 2024-09-10T16:48:49+02:00 New Revision: 327ca6c02f0dbf13dd6f039d30d320a7ba1456b8 URL: https://github.com/llvm/llvm-project/commit/327ca6c02f0dbf13dd6f039d30d320a7ba1456b8 DIFF: https://github.com/llvm/llvm-project/commit/327ca6c02f0dbf13dd6f039d30d320a7ba1456b8.diff LOG:

[llvm-branch-commits] [clang] [clang-format] Correctly annotate braces in macro definition (#107352) (PR #107531)

2024-09-10 Thread Tobias Hieta via llvm-branch-commits
https://github.com/tru updated https://github.com/llvm/llvm-project/pull/107531 >From 327ca6c02f0dbf13dd6f039d30d320a7ba1456b8 Mon Sep 17 00:00:00 2001 From: Owen Pan Date: Thu, 5 Sep 2024 23:59:11 -0700 Subject: [PATCH] [clang-format] Correctly annotate braces in macro definition (#107352) Th

[llvm-branch-commits] [llvm] release/19.x: [Windows SEH] Fix crash on empty seh block (#107031) (PR #107466)

2024-09-10 Thread Tobias Hieta via llvm-branch-commits
tru wrote: I'll take it for 19 if we can get a reviewer to approve it. https://github.com/llvm/llvm-project/pull/107466 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-

[llvm-branch-commits] release/19.x: [llvm][CodeGen] Resolve issues when updating live intervals in window scheduler (#101945) (PR #107338)

2024-09-10 Thread Tobias Hieta via llvm-branch-commits
https://github.com/tru updated https://github.com/llvm/llvm-project/pull/107338 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] release/19.x: [llvm][CodeGen] Resolve issues when updating live intervals in window scheduler (#101945) (PR #107338)

2024-09-10 Thread Tobias Hieta via llvm-branch-commits
https://github.com/tru closed https://github.com/llvm/llvm-project/pull/107338 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] 2651d09 - [llvm][CodeGen] Resolve issues when updating live intervals in window scheduler (#101945)

2024-09-10 Thread Tobias Hieta via llvm-branch-commits
Author: Hua Tian Date: 2024-09-10T16:46:49+02:00 New Revision: 2651d09ec9c4d87d09ae72d8bf42fab566fb02d0 URL: https://github.com/llvm/llvm-project/commit/2651d09ec9c4d87d09ae72d8bf42fab566fb02d0 DIFF: https://github.com/llvm/llvm-project/commit/2651d09ec9c4d87d09ae72d8bf42fab566fb02d0.diff LOG:

[llvm-branch-commits] [llvm] release/19.x: [LoongArch][ISel] Check the number of sign bits in `PatGprGpr_32` (#107432) (PR #107945)

2024-09-10 Thread Yingwei Zheng via llvm-branch-commits
dtcxzyw wrote: > In that case - does it make sense to wait for that change before merging this? See https://github.com/llvm/llvm-project/pull/107990. https://github.com/llvm/llvm-project/pull/107945 ___ llvm-branch-commits mailing list llvm-branch-co

[llvm-branch-commits] [llvm] [RISCV] Add initial support of memcmp expansion (PR #107548)

2024-09-10 Thread Pengcheng Wang via llvm-branch-commits
wangpc-pp wrote: > This is perhaps more of a comment for #107824 than for this one, but I think > we'd benefit from some level of test coverage for OptForSize to demonstrate > that we stick with the libcall in cases where expanding increases code size. Thanks! Done! https://github.com/llvm/ll

[llvm-branch-commits] [llvm] [RISCV] Add initial support of memcmp expansion (PR #107548)

2024-09-10 Thread Pengcheng Wang via llvm-branch-commits
https://github.com/wangpc-pp updated https://github.com/llvm/llvm-project/pull/107548 >From f21cfcfc90330ee3856746b6315a81a00313b0e0 Mon Sep 17 00:00:00 2001 From: Wang Pengcheng Date: Fri, 6 Sep 2024 17:20:51 +0800 Subject: [PATCH 1/4] =?UTF-8?q?[=F0=9D=98=80=F0=9D=97=BD=F0=9D=97=BF]=20in?= =

[llvm-branch-commits] [llvm] [RISCV] Add initial support of memcmp expansion (PR #107548)

2024-09-10 Thread Pengcheng Wang via llvm-branch-commits
https://github.com/wangpc-pp updated https://github.com/llvm/llvm-project/pull/107548 >From f21cfcfc90330ee3856746b6315a81a00313b0e0 Mon Sep 17 00:00:00 2001 From: Wang Pengcheng Date: Fri, 6 Sep 2024 17:20:51 +0800 Subject: [PATCH 1/4] =?UTF-8?q?[=F0=9D=98=80=F0=9D=97=BD=F0=9D=97=BF]=20in?= =

[llvm-branch-commits] [flang] [flang] Lower omp.workshare to other omp constructs (PR #101446)

2024-09-10 Thread Tom Eccles via llvm-branch-commits
tblah wrote: > I was wondering if there is some op that is like `scf.execute_region` but > already used in flang. Not that I am aware of. I think adding `scf.execute_region` might be the easiest way to support this. The alternative would be to go back and convert the if statement into CFG be

[llvm-branch-commits] [flang] [flang] Lower omp.workshare to other omp constructs (PR #101446)

2024-09-10 Thread Ivan R. Ivanov via llvm-branch-commits
ivanradanov wrote: Ah yes, I meant `scf.execute_region`. But when I tried creating that and it was not registered so I thought it was a deliberate decision to not pull in the scf dialect so I opted not to go for that lowering. I was wondering if there is some op that is like `scf.execute_regio

[llvm-branch-commits] [llvm] [AMDGPU] Fix sign confusion in performMulLoHiCombine (PR #106977)

2024-09-10 Thread Marek Olšák via llvm-branch-commits
marekolsak wrote: ROCm should consider it a critical issue because it fixes int64 multiplication by a constant. It's less critical for other LLVM users like Mesa. https://github.com/llvm/llvm-project/pull/106977 ___ llvm-branch-commits mailing list l

[llvm-branch-commits] [clang] release/19.x: [Clang][Sema] Use the correct lookup context when building overloaded 'operator->' in the current instantiation (#104458) (PR #107886)

2024-09-10 Thread Aaron Ballman via llvm-branch-commits
AaronBallman wrote: > This change has already been reverted on main because it breaks clang > bootstrap and causes assertion failures. This was already known at the time > it was accepted as "low risk" here. Please exercise at least a minimum amount > of due diligence before approving backport

[llvm-branch-commits] [clang] release/19.x: [Clang][Sema] Use the correct lookup context when building overloaded 'operator->' in the current instantiation (#104458) (PR #107886)

2024-09-10 Thread Nikita Popov via llvm-branch-commits
https://github.com/nikic requested changes to this pull request. This change has already been reverted on main because it breaks clang bootstrap and causes assertion failures. This was already known at the time it was accepted as "low risk" here. Please exercise at least a minimum amount of due

[llvm-branch-commits] [clang] release/19.x: [Clang][Sema] Use the correct lookup context when building overloaded 'operator->' in the current instantiation (#104458) (PR #107886)

2024-09-10 Thread Aaron Ballman via llvm-branch-commits
https://github.com/AaronBallman approved this pull request. LGTM -- I think this is important for 19.x given the behavior it's correcting. https://github.com/llvm/llvm-project/pull/107886 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.l

[llvm-branch-commits] [flang] [flang] Lower omp.workshare to other omp constructs (PR #101446)

2024-09-10 Thread Tom Eccles via llvm-branch-commits
tblah wrote: > @kiranchandramohan @tblah @skatrak I have a question to people more familiar > with Fortran and the Flang pipeline - is it possible that we would have CFG > (multiple blocks) in the IR generated in the `omp.workshare` region at this > point in the pipeline (immediately after low

[llvm-branch-commits] [llvm] release/19.x: [Windows SEH] Fix crash on empty seh block (#107031) (PR #107466)

2024-09-10 Thread via llvm-branch-commits
R-Goc wrote: This fixes compilation with clang-cl using /EHa. Some libraries (found this trying to compile openCV, but it is not isolated, and other people also reported this) use asynchronous exception handling. Currently the compiler will either freeze or segfault and will hit an assert if a

[llvm-branch-commits] [llvm] [RISCV] Add initial support of memcmp expansion (PR #107548)

2024-09-10 Thread Alex Bradbury via llvm-branch-commits
asb wrote: This is perhaps more of a comment for #107824 than for this one, but I think we'd benefit from some level of test coverage for OptForSize to demonstrate that we stick with the libcall in cases where expanding increases code size. https://github.com/llvm/llvm-project/pull/107548 __

[llvm-branch-commits] [llvm] release/19.x: [RemoveDIs] Fix spliceDebugInfo splice-to-end edge case (#105671, #106723) (PR #106952)

2024-09-10 Thread Tobias Hieta via llvm-branch-commits
tru wrote: Thanks for your detailed answer! I think this can go in 19.1.0 https://github.com/llvm/llvm-project/pull/106952 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bran

[llvm-branch-commits] [llvm] release/19.x: [RemoveDIs] Fix spliceDebugInfo splice-to-end edge case (#105671, #106723) (PR #106952)

2024-09-10 Thread Orlando Cazalet-Hyams via llvm-branch-commits
OCHyams wrote: @tru just a note, I got confused about the release timelines and I mistakenly said this wasn't a regression (it is a regression from LLVM 18 as it is in in LLVM 19 that we turned on the feature that triggers the issue this patch fixes). I've updated my initial reply. https://gi

[llvm-branch-commits] [llvm] release/19.x: [LoongArch] Eliminate the redundant sign extension of division (#107971) (PR #107990)

2024-09-10 Thread via llvm-branch-commits
https://github.com/llvmbot created https://github.com/llvm/llvm-project/pull/107990 Backport 0f47e3aebdd2a4a938468a272ea4224552dbf176 Requested by: @heiher >From e27281dd8fdf476505f6faaa9f9c2eda8d023cbb Mon Sep 17 00:00:00 2001 From: hev Date: Tue, 10 Sep 2024 16:52:21 +0800 Subject: [PATCH]

[llvm-branch-commits] [llvm] release/19.x: [LoongArch] Eliminate the redundant sign extension of division (#107971) (PR #107990)

2024-09-10 Thread via llvm-branch-commits
https://github.com/llvmbot milestoned https://github.com/llvm/llvm-project/pull/107990 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] release/19.x: [LoongArch] Eliminate the redundant sign extension of division (#107971) (PR #107990)

2024-09-10 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-loongarch Author: None (llvmbot) Changes Backport 0f47e3aebdd2a4a938468a272ea4224552dbf176 Requested by: @heiher --- Full diff: https://github.com/llvm/llvm-project/pull/107990.diff 1 Files Affected: - (modified) llvm/lib/Target/LoongArch/Lo

[llvm-branch-commits] [llvm] release/19.x: [RemoveDIs] Fix spliceDebugInfo splice-to-end edge case (#105671, #106723) (PR #106952)

2024-09-10 Thread Orlando Cazalet-Hyams via llvm-branch-commits
https://github.com/OCHyams edited https://github.com/llvm/llvm-project/pull/106952 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] release/19.x: [LoongArch] Eliminate the redundant sign extension of division (#107971) (PR #107990)

2024-09-10 Thread via llvm-branch-commits
llvmbot wrote: @SixWeining What do you think about merging this PR to the release branch? https://github.com/llvm/llvm-project/pull/107990 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/li

[llvm-branch-commits] [llvm] release/19.x: [LoongArch][ISel] Check the number of sign bits in `PatGprGpr_32` (#107432) (PR #107945)

2024-09-10 Thread Lu Weining via llvm-branch-commits
SixWeining wrote: > @heiher @SixWeining Do you guys have a plan to backport #107971? Yes, I think #107971 should also be backported to 19.x. https://github.com/llvm/llvm-project/pull/107945 ___ llvm-branch-commits mailing list llvm-branch-commits@list

[llvm-branch-commits] [llvm] release/19.x: [LoongArch][ISel] Check the number of sign bits in `PatGprGpr_32` (#107432) (PR #107945)

2024-09-10 Thread Yingwei Zheng via llvm-branch-commits
dtcxzyw wrote: > > It introduces a performance regression. I have filed an issue to track > > this: #107946. > > Is this something you also expect to backport in this case? do we want to > wait for this fix to be available before we merge? In that case - would it be > better to wait and merge

[llvm-branch-commits] [llvm] [AArch64] Disable SVE paired ld1/st1 for callee-saves. (PR #107406)

2024-09-10 Thread Sander de Smalen via llvm-branch-commits
sdesmalen-arm wrote: > Hi, since we are wrapping up LLVM 19.1.0 we are very strict with the fixes we > pick at this point. Can you please respond to the following questions to help > me understand if this has to be included in the final release or not. Sure, I appreciate your diligence! > Is

[llvm-branch-commits] [clang] [clang-format] Correctly annotate braces in macro definition (#107352) (PR #107531)

2024-09-10 Thread Owen Pan via llvm-branch-commits
owenca wrote: > Hi, since we are wrapping up LLVM 19.1.0 we are very strict with the fixes we > pick at this point. Can you please respond to the following questions to help > me understand if this has to be included in the final release or not. > > Is this PR a fix for a regression or a criti

[llvm-branch-commits] [mlir] 13fd7a2 - Revert "[MLIR] Make `resolveCallable` customizable in `CallOpInterface` (#100…"

2024-09-10 Thread via llvm-branch-commits
Author: Matthias Springer Date: 2024-09-10T10:23:27+02:00 New Revision: 13fd7a28cd7bd0e06b61c3f56c563e28c6104c7e URL: https://github.com/llvm/llvm-project/commit/13fd7a28cd7bd0e06b61c3f56c563e28c6104c7e DIFF: https://github.com/llvm/llvm-project/commit/13fd7a28cd7bd0e06b61c3f56c563e28c6104c7e.d

[llvm-branch-commits] [mlir] [mlir][GPU] Plumb range information through the NVVM lowterings (PR #107659)

2024-09-10 Thread Guray Ozen via llvm-branch-commits
grypp wrote: It looks good the in general. Let's wait the main PR to land, and then you can land this one as well. https://github.com/llvm/llvm-project/pull/107659 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.l

[llvm-branch-commits] [mlir] [mlir][GPU] Plumb range information through the NVVM lowterings (PR #107659)

2024-09-10 Thread Guray Ozen via llvm-branch-commits
@@ -209,7 +209,12 @@ struct GPULaneIdOpToNVVM : ConvertOpToLLVMPattern { ConversionPatternRewriter &rewriter) const override { auto loc = op->getLoc(); MLIRContext *context = rewriter.getContext(); -Value newOp = rewriter.create(loc, rewriter.getI

[llvm-branch-commits] [clang] release/19.x: [Clang][Sema] Use the correct lookup context when building overloaded 'operator->' in the current instantiation (#104458) (PR #107886)

2024-09-10 Thread via llvm-branch-commits
cor3ntin wrote: Yes, this is a 19 regression https://github.com/llvm/llvm-project/issues/104268 I think it's fairly low risk to accept - but if we don't clang will reject fairly common c++ code (lookup of operator-> in template function) https://github.com/llvm/llvm-project/pull/107886 __

[llvm-branch-commits] [clang] [Clang] Fix handling of placeholder variables name in init captures (#107055) (PR #107214)

2024-09-10 Thread via llvm-branch-commits
cor3ntin wrote: @tru thanks for noticing, fixed! https://github.com/llvm/llvm-project/pull/107214 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang] [Clang] Fix handling of placeholder variables name in init captures (#107055) (PR #107214)

2024-09-10 Thread via llvm-branch-commits
https://github.com/cor3ntin updated https://github.com/llvm/llvm-project/pull/107214 >From 75af619d96d874d67dc142e9c09ffc2a61737d96 Mon Sep 17 00:00:00 2001 From: cor3ntin Date: Tue, 3 Sep 2024 20:36:15 +0200 Subject: [PATCH] [Clang] Fix handling of placeholder variables name in init captures

[llvm-branch-commits] [clang] Backport "[clang][analyzer] Fix #embed crash (#107764)" (PR #107841)

2024-09-10 Thread Donát Nagy via llvm-branch-commits
NagyDonat wrote: > Is this PR a fix for a regression or a critical issue? `#embed` support is a new feature introduced in Clang 19, so this is not a regression. However, without this PR Clang Static Analyzer (and clang-tidy which calls Clang Static Analyzer) will crash on any project that cont

[llvm-branch-commits] [llvm] release/19.x: [RemoveDIs] Fix spliceDebugInfo splice-to-end edge case (#105671, #106723) (PR #106952)

2024-09-10 Thread Orlando Cazalet-Hyams via llvm-branch-commits
https://github.com/OCHyams edited https://github.com/llvm/llvm-project/pull/106952 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] release/19.x: [RemoveDIs] Fix spliceDebugInfo splice-to-end edge case (#105671, #106723) (PR #106952)

2024-09-10 Thread Orlando Cazalet-Hyams via llvm-branch-commits
@@ -975,8 +975,16 @@ void BasicBlock::spliceDebugInfoImpl(BasicBlock::iterator Dest, BasicBlock *Src, if (ReadFromTail && Src->getMarker(Last)) { DbgMarker *FromLast = Src->getMarker(Last); if (LastIsEnd) { - Dest->adoptDbgRecords(Src, Last, true); - // ado

[llvm-branch-commits] [llvm] release/19.x: [RemoveDIs] Fix spliceDebugInfo splice-to-end edge case (#105671, #106723) (PR #106952)

2024-09-10 Thread Orlando Cazalet-Hyams via llvm-branch-commits
@@ -975,8 +975,16 @@ void BasicBlock::spliceDebugInfoImpl(BasicBlock::iterator Dest, BasicBlock *Src, if (ReadFromTail && Src->getMarker(Last)) { DbgMarker *FromLast = Src->getMarker(Last); if (LastIsEnd) { - Dest->adoptDbgRecords(Src, Last, true); - // ado

[llvm-branch-commits] [llvm] release/19.x: [RemoveDIs] Fix spliceDebugInfo splice-to-end edge case (#105671, #106723) (PR #106952)

2024-09-10 Thread Orlando Cazalet-Hyams via llvm-branch-commits
@@ -975,8 +975,16 @@ void BasicBlock::spliceDebugInfoImpl(BasicBlock::iterator Dest, BasicBlock *Src, if (ReadFromTail && Src->getMarker(Last)) { DbgMarker *FromLast = Src->getMarker(Last); if (LastIsEnd) { - Dest->adoptDbgRecords(Src, Last, true); - // ado

[llvm-branch-commits] [llvm] release/19.x: [RemoveDIs] Fix spliceDebugInfo splice-to-end edge case (#105671, #106723) (PR #106952)

2024-09-10 Thread Orlando Cazalet-Hyams via llvm-branch-commits
@@ -975,8 +975,16 @@ void BasicBlock::spliceDebugInfoImpl(BasicBlock::iterator Dest, BasicBlock *Src, if (ReadFromTail && Src->getMarker(Last)) { DbgMarker *FromLast = Src->getMarker(Last); if (LastIsEnd) { - Dest->adoptDbgRecords(Src, Last, true); - // ado

[llvm-branch-commits] [llvm] release/19.x: [RemoveDIs] Fix spliceDebugInfo splice-to-end edge case (#105671, #106723) (PR #106952)

2024-09-10 Thread Orlando Cazalet-Hyams via llvm-branch-commits
https://github.com/OCHyams commented: Hi @tru, > Is this PR a fix for a regression or a critical issue? Neither > What is the risk of accepting this into the release branch? If I've made a mistake in the patch we could get incorrect debug-info in an edge case. I've added some comments inline

[llvm-branch-commits] [flang] [flang] Lower omp.workshare to other omp constructs (PR #101446)

2024-09-10 Thread Ivan R. Ivanov via llvm-branch-commits
ivanradanov wrote: @kiranchandramohan @tblah @skatrak I have a question to people more familiar with Fortran and the entire Flang pipeline - is it possible that we would have CFG (multiple blocks) in the IR generated in the workshare statement at this point in the pipeline (immediately after l

[llvm-branch-commits] [llvm] [AMDGPU] Fix sign confusion in performMulLoHiCombine (PR #106977)

2024-09-10 Thread Jay Foad via llvm-branch-commits
jayfoad wrote: > > Is this PR a fix for a regression or a critical issue? > > No, I believe it has been broken for about 3 years (since > [d7e03df](https://github.com/llvm/llvm-project/commit/d7e03df719464354b20a845b7853be57da863924)) > but it was only reported to me recently. > > I guess thi

[llvm-branch-commits] [llvm] [AMDGPU] Fix sign confusion in performMulLoHiCombine (PR #106977)

2024-09-10 Thread Jay Foad via llvm-branch-commits
jayfoad wrote: > Is this PR a fix for a regression or a critical issue? No, I believe it has been broken for about 3 years (since d7e03df719464354b20a845b7853be57da863924) but it was only reported to me recently. I guess this means it is not appropriate for 19.1.0. https://github.com/llvm/ll

[llvm-branch-commits] [llvm] release/19.x: [LoongArch][ISel] Check the number of sign bits in `PatGprGpr_32` (#107432) (PR #107945)

2024-09-10 Thread Tobias Hieta via llvm-branch-commits
tru wrote: > It introduces a performance regression. I have filed an issue to track this: > https://github.com/llvm/llvm-project/issues/107946. Is this something you also expect to backport in this case? do we want to wait for this fix to be available before we merge? In that case - would it b

[llvm-branch-commits] [compiler-rt] [profile] Change __llvm_profile_counter_bias type to match llvm (PR #107362)

2024-09-10 Thread Rainer Orth via llvm-branch-commits
rorth wrote: > Hi, since we are wrapping up LLVM 19.1.0 we are very strict with the fixes we > pick at this point. Can you please respond to the following questions to help > me understand if this has to be included in the final release or not. I guess it's best for @petrhosek to make the fina

[llvm-branch-commits] [llvm] release/19.x: [LoongArch][ISel] Check the number of sign bits in `PatGprGpr_32` (#107432) (PR #107945)

2024-09-10 Thread Yingwei Zheng via llvm-branch-commits
dtcxzyw wrote: > Hi, since we are wrapping up LLVM 19.1.0 we are very strict with the fixes we > pick at this point. Can you please respond to the following questions to help > me understand if this has to be included in the final release or not. > > Is this PR a fix for a regression or a crit

[llvm-branch-commits] [llvm] release/19.x: [SLP]Fix PR107036: Check if the type of the user is sizable before requesting its size. (PR #107098)

2024-09-10 Thread via llvm-branch-commits
DianQK wrote: > Is this PR a fix for a regression or a critical issue? Yes. It fixes a regression in f6e01b9ece1e73f6eda6e1dbff3aa72e917f4007. > What is the risk of accepting this into the release branch? This won't introduce a new regression for this. > What is the risk of NOT accepting this