[llvm-branch-commits] [clang] [llvm] [LLVM] [Clang] Backport "Support for Gentoo `*t64` triples (64-bit time_t ABIs)" (PR #112364)

2024-10-30 Thread Andrew Kelley via llvm-branch-commits
https://github.com/andrewrk edited https://github.com/llvm/llvm-project/pull/112364 ___ 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] [llvm] [LLVM] [Clang] Backport "Support for Gentoo `*t64` triples (64-bit time_t ABIs)" (PR #112364)

2024-10-30 Thread Andrew Kelley via llvm-branch-commits
https://github.com/andrewrk edited https://github.com/llvm/llvm-project/pull/112364 ___ 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] [llvm] [LLVM] [Clang] Backport "Support for Gentoo `*t64` triples (64-bit time_t ABIs)" (PR #112364)

2024-10-30 Thread Andrew Kelley via llvm-branch-commits
@@ -294,7 +294,11 @@ class Triple { PAuthTest, -LastEnvironmentType = PAuthTest +GNUT64, +GNUEABIT64, +GNUEABIHFT64, + +LastEnvironmentType = GNUEABIHFT64 andrewrk wrote: Well, that used to be the case anyway. @alexrp pointed out in

[llvm-branch-commits] [clang] [llvm] [LLVM] [Clang] Backport "Support for Gentoo `*t64` triples (64-bit time_t ABIs)" (PR #112364)

2024-10-30 Thread Michał Górny via llvm-branch-commits
@@ -294,7 +294,11 @@ class Triple { PAuthTest, -LastEnvironmentType = PAuthTest +GNUT64, +GNUEABIT64, +GNUEABIHFT64, + +LastEnvironmentType = GNUEABIHFT64 mgorny wrote: For the record, Gentoo has already backported it to 18.x as well

[llvm-branch-commits] [llvm] 3ca951e - Revert "[GlobalISel][AArch64] Legalize G_INSERT_VECTOR_ELT for SVE (#114310)"

2024-10-30 Thread via llvm-branch-commits
Author: Thorsten Schütt Date: 2024-10-31T05:40:53+01:00 New Revision: 3ca951e1f59110cb29b9c03fc1733cab1f6fbc30 URL: https://github.com/llvm/llvm-project/commit/3ca951e1f59110cb29b9c03fc1733cab1f6fbc30 DIFF: https://github.com/llvm/llvm-project/commit/3ca951e1f59110cb29b9c03fc1733cab1f6fbc30.dif

[llvm-branch-commits] [clang] [Serialization] Code cleanups and polish 83233 (PR #83237)

2024-10-30 Thread Chuanqi Xu via llvm-branch-commits
ChuanqiXu9 wrote: > > I tried to take a look at eigen and it looks like the declaration looks > > well and I had no clue how that happens. A reproducer may be necessary here > > to proceed. Thanks in advance. > > I can reproduce using the following sources and invocations outlined in > `run.s

[llvm-branch-commits] [clang] [llvm] [llvm][fatlto] Drop any CFI related instrumentation after emitting bitcode (PR #112788)

2024-10-30 Thread Paul Kirth via llvm-branch-commits
https://github.com/ilovepi updated https://github.com/llvm/llvm-project/pull/112788 >From ad89d61e60bac57cf8c66a974d741377ebe1db30 Mon Sep 17 00:00:00 2001 From: Paul Kirth Date: Fri, 18 Oct 2024 01:59:26 + Subject: [PATCH 1/2] Use new enum in constructor Created using spr 1.3.4 --- llvm/

[llvm-branch-commits] [clang] [llvm] [llvm][fatlto] Drop any CFI related instrumentation after emitting bitcode (PR #112788)

2024-10-30 Thread Paul Kirth via llvm-branch-commits
https://github.com/ilovepi updated https://github.com/llvm/llvm-project/pull/112788 >From ad89d61e60bac57cf8c66a974d741377ebe1db30 Mon Sep 17 00:00:00 2001 From: Paul Kirth Date: Fri, 18 Oct 2024 01:59:26 + Subject: [PATCH 1/2] Use new enum in constructor Created using spr 1.3.4 --- llvm/

[llvm-branch-commits] [clang] [llvm] [llvm][fatlto] Drop any CFI related instrumentation after emitting bitcode (PR #112788)

2024-10-30 Thread Paul Kirth via llvm-branch-commits
https://github.com/ilovepi updated https://github.com/llvm/llvm-project/pull/112788 >From ad89d61e60bac57cf8c66a974d741377ebe1db30 Mon Sep 17 00:00:00 2001 From: Paul Kirth Date: Fri, 18 Oct 2024 01:59:26 + Subject: [PATCH 1/2] Use new enum in constructor Created using spr 1.3.4 --- llvm/

[llvm-branch-commits] [clang] [llvm] [LLVM] [Clang] Backport "Support for Gentoo `*t64` triples (64-bit time_t ABIs)" (PR #112364)

2024-10-30 Thread Alex Rønne Petersen via llvm-branch-commits
https://github.com/alexrp edited https://github.com/llvm/llvm-project/pull/112364 ___ 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] [flang] [flang][cuda] Data transfer with descriptor (PR #114302)

2024-10-30 Thread Renaud Kauffmann via llvm-branch-commits
https://github.com/Renaud-K approved this pull request. Looks good. Nice way of testing the runtime. https://github.com/llvm/llvm-project/pull/114302 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bi

[llvm-branch-commits] [llvm] 70a8e4c - Revert "[DXIL] Add GroupMemoryBarrierWithGroupSync intrinsic (#111884)"

2024-10-30 Thread via llvm-branch-commits
Author: Adam Yang Date: 2024-10-30T15:57:27-07:00 New Revision: 70a8e4c4f4f0eba9f9192fae97654d3a32a731cd URL: https://github.com/llvm/llvm-project/commit/70a8e4c4f4f0eba9f9192fae97654d3a32a731cd DIFF: https://github.com/llvm/llvm-project/commit/70a8e4c4f4f0eba9f9192fae97654d3a32a731cd.diff LOG

[llvm-branch-commits] [mlir] [mlir][func] Remove `func-bufferize` pass (PR #114152)

2024-10-30 Thread Javed Absar via llvm-branch-commits
@@ -111,9 +111,9 @@ module attributes {transform.with_named_sequence} { transform.named_sequence @__transform_main(%arg1: !transform.any_op) { %1 = transform.structured.match ops{["func.func"]} in %arg1 : (!transform.any_op) -> !transform.any_op -// func-bufferize c

[llvm-branch-commits] [llvm] ValueTracking: Allow getUnderlyingObject to look at vectors (PR #114311)

2024-10-30 Thread Matt Arsenault via llvm-branch-commits
arsenm 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/114311?utm_source=stack-comment-downstack-mergeability-warning";

[llvm-branch-commits] [llvm] 78dcfb3 - Revert "[TLI] Add support for hypot libcall. (#113724)"

2024-10-30 Thread via llvm-branch-commits
Author: gulfemsavrun Date: 2024-10-30T15:09:24-07:00 New Revision: 78dcfb323241e46701ff8d19c8509307bce904bb URL: https://github.com/llvm/llvm-project/commit/78dcfb323241e46701ff8d19c8509307bce904bb DIFF: https://github.com/llvm/llvm-project/commit/78dcfb323241e46701ff8d19c8509307bce904bb.diff

[llvm-branch-commits] [clang] [llvm] [LLVM] [Clang] Backport "Support for Gentoo `*t64` triples (64-bit time_t ABIs)" (PR #112364)

2024-10-30 Thread Alex Rønne Petersen via llvm-branch-commits
@@ -294,7 +294,11 @@ class Triple { PAuthTest, -LastEnvironmentType = PAuthTest +GNUT64, +GNUEABIT64, +GNUEABIHFT64, + +LastEnvironmentType = GNUEABIHFT64 alexrp wrote: We don't mandate a particular patch version of LLVM because we tr

[llvm-branch-commits] [llvm] GlobalISel: Fix combine duplicating atomic loads (PR #111730)

2024-10-30 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm updated https://github.com/llvm/llvm-project/pull/111730 >From 41780b3398f46745fabe2ae2d24ca02c6580cf49 Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Wed, 9 Oct 2024 22:05:48 +0400 Subject: [PATCH 1/2] GlobalISel: Fix combine duplicating atomic loads The sext_in

[llvm-branch-commits] [llvm] ValueTracking: Allow getUnderlyingObject to look at vectors (PR #114311)

2024-10-30 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-llvm-analysis Author: Matt Arsenault (arsenm) Changes We can identify some easy vector of pointer cases, such as a getelementptr with a scalar base. --- Full diff: https://github.com/llvm/llvm-project/pull/114311.diff 2 Files Affected: - (modified) l

[llvm-branch-commits] [llvm] ValueTracking: Allow getUnderlyingObject to look at vectors (PR #114311)

2024-10-30 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm ready_for_review https://github.com/llvm/llvm-project/pull/114311 ___ 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] ValueTracking: Allow getUnderlyingObject to look at vectors (PR #114311)

2024-10-30 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm created https://github.com/llvm/llvm-project/pull/114311 We can identify some easy vector of pointer cases, such as a getelementptr with a scalar base. >From 6e8c27a281929c1c1941960e0134122c3ccf77b8 Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Tue, 29 Oct 2024

[llvm-branch-commits] [flang] [flang][cuda] Data transfer with descriptor (PR #114302)

2024-10-30 Thread Renaud Kauffmann via llvm-branch-commits
@@ -9,10 +9,32 @@ #include "flang/Runtime/CUDA/memory.h" #include "../terminator.h" #include "flang/Runtime/CUDA/common.h" +#include "flang/Runtime/assign.h" #include "cuda_runtime.h" namespace Fortran::runtime::cuda { +static void *MemmoveHostToDevice( +void *dst, co

[llvm-branch-commits] [clang] [llvm] [LLVM] [Clang] Backport "Support for Gentoo `*t64` triples (64-bit time_t ABIs)" (PR #112364)

2024-10-30 Thread Tom Stellard via llvm-branch-commits
@@ -294,7 +294,11 @@ class Triple { PAuthTest, -LastEnvironmentType = PAuthTest +GNUT64, +GNUEABIT64, +GNUEABIHFT64, + +LastEnvironmentType = GNUEABIHFT64 tstellar wrote: @alexrp Why would zig still need to deal with it? I don't thin

[llvm-branch-commits] [flang] [flang][cuda] Data transfer with descriptor (PR #114302)

2024-10-30 Thread Valentin Clement バレンタイン クレメン via llvm-branch-commits
https://github.com/clementval updated https://github.com/llvm/llvm-project/pull/114302 >From e4c7e31c77bbfda563e4e2c9b591fe2f5cb2c259 Mon Sep 17 00:00:00 2001 From: Valentin Clement Date: Wed, 30 Oct 2024 11:53:12 -0700 Subject: [PATCH 1/2] [flang][cuda] Data transfer with descriptor --- flan

[llvm-branch-commits] [llvm] [llvm][fatlto] Drop any CFI related instrumentation after emitting bitcode (PR #112788)

2024-10-30 Thread via llvm-branch-commits
https://github.com/pcc approved this pull request. https://github.com/llvm/llvm-project/pull/112788 ___ 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] 565d18d - Revert "[Clang][Sema] Always use latest redeclaration of primary template (#1…"

2024-10-30 Thread via llvm-branch-commits
Author: Felipe de Azevedo Piovezan Date: 2024-10-30T14:03:47-07:00 New Revision: 565d18daf296b9848cf9d1b23fc82892e10eef8c URL: https://github.com/llvm/llvm-project/commit/565d18daf296b9848cf9d1b23fc82892e10eef8c DIFF: https://github.com/llvm/llvm-project/commit/565d18daf296b9848cf9d1b23fc82892e

[llvm-branch-commits] [llvm] [PAC][CodeGen][ELF][AArch64] Support signed GOT with tiny code model (PR #113812)

2024-10-30 Thread Paul Kirth via llvm-branch-commits
@@ -2277,28 +2277,40 @@ void AArch64AsmPrinter::LowerLOADgotAUTH(const MachineInstr &MI) { const MachineOperand &GAMO = MI.getOperand(1); assert(GAMO.getOffset() == 0); - MachineOperand GAHiOp(GAMO); - MachineOperand GALoOp(GAMO); - GAHiOp.addTargetFlag(AArch64II::MO_P

[llvm-branch-commits] [llvm] [PAC][CodeGen][ELF][AArch64] Support signed GOT with tiny code model (PR #113812)

2024-10-30 Thread Paul Kirth via llvm-branch-commits
https://github.com/ilovepi edited https://github.com/llvm/llvm-project/pull/113812 ___ 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] [PAC][CodeGen][ELF][AArch64] Support signed GOT with tiny code model (PR #113812)

2024-10-30 Thread Paul Kirth via llvm-branch-commits
https://github.com/ilovepi commented: Overall, this seems fine as a translation of the spec. I still need to take another pass over the tests to be sure, but they seem appropriate so far. All that said, I'm far from an expert on Aarch64 minutiae, so a more experienced reviewer here will have

[llvm-branch-commits] [clang] [llvm] [LLVM] [Clang] Backport "Support for Gentoo `*t64` triples (64-bit time_t ABIs)" (PR #112364)

2024-10-30 Thread Tobias Hieta via llvm-branch-commits
@@ -294,7 +294,11 @@ class Triple { PAuthTest, -LastEnvironmentType = PAuthTest +GNUT64, +GNUEABIT64, +GNUEABIHFT64, + +LastEnvironmentType = GNUEABIHFT64 tru wrote: I want to understand why the Abi checker didn't flag this. But yes -

[llvm-branch-commits] [flang] [flang][cuda] Data transfer with descriptor (PR #114302)

2024-10-30 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 a1f81d24c44da15071196faa9e8d466bcbbd7e97 e4c7e31c77bbfda563e4e2c9b591fe2f5cb2c259 --e

[llvm-branch-commits] [flang] [flang][cuda] Data transfer with descriptor (PR #114302)

2024-10-30 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-flang-runtime Author: Valentin Clement (バレンタイン クレメン) (clementval) Changes Use the feature added in #114301 to perform data transfer between data having a descriptor. --- Full diff: https://github.com/llvm/llvm-project/pull/114302.diff 2 Files Affect

[llvm-branch-commits] [flang] [flang][cuda] Data transfer with descriptor (PR #114302)

2024-10-30 Thread Valentin Clement バレンタイン クレメン via llvm-branch-commits
https://github.com/clementval created https://github.com/llvm/llvm-project/pull/114302 Use the feature added in #114301 to perform data transfer between data having a descriptor. >From e4c7e31c77bbfda563e4e2c9b591fe2f5cb2c259 Mon Sep 17 00:00:00 2001 From: Valentin Clement Date: Wed, 30 Oct

[llvm-branch-commits] [clang] [llvm] [LLVM] [Clang] Backport "Support for Gentoo `*t64` triples (64-bit time_t ABIs)" (PR #112364)

2024-10-30 Thread Alex Rønne Petersen via llvm-branch-commits
@@ -294,7 +294,11 @@ class Triple { PAuthTest, -LastEnvironmentType = PAuthTest +GNUT64, +GNUEABIT64, +GNUEABIHFT64, + +LastEnvironmentType = GNUEABIHFT64 alexrp wrote: I don't *think* a revert at this stage would make much of a diffe

[llvm-branch-commits] [clang] [llvm] [LLVM] [Clang] Backport "Support for Gentoo `*t64` triples (64-bit time_t ABIs)" (PR #112364)

2024-10-30 Thread Tobias Hieta via llvm-branch-commits
@@ -294,7 +294,11 @@ class Triple { PAuthTest, -LastEnvironmentType = PAuthTest +GNUT64, +GNUEABIT64, +GNUEABIHFT64, + +LastEnvironmentType = GNUEABIHFT64 tru wrote: Yeah this is obviously an oversight and of the ABI checker would hav

[llvm-branch-commits] [clang] [llvm] [LLVM] [Clang] Backport "Support for Gentoo `*t64` triples (64-bit time_t ABIs)" (PR #112364)

2024-10-30 Thread Tobias Hieta via llvm-branch-commits
https://github.com/tru edited https://github.com/llvm/llvm-project/pull/112364 ___ 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] [llvm] [LLVM] [Clang] Backport "Support for Gentoo `*t64` triples (64-bit time_t ABIs)" (PR #112364)

2024-10-30 Thread Michał Górny via llvm-branch-commits
@@ -294,7 +294,11 @@ class Triple { PAuthTest, -LastEnvironmentType = PAuthTest +GNUT64, +GNUEABIT64, +GNUEABIHFT64, + +LastEnvironmentType = GNUEABIHFT64 mgorny wrote: The change wasn't meant to break API or ABI compatibility, and wh

[llvm-branch-commits] [lld] [PAC][lld][AArch64][ELF] Support signed GOT with tiny code model (PR #113816)

2024-10-30 Thread Paul Kirth via llvm-branch-commits
@@ -78,6 +78,79 @@ _start: adrp x1, :got_auth:zed add x1, x1, :got_auth_lo12:zed +#--- ok-tiny.s + +# RUN: llvm-mc -filetype=obj -triple=aarch64-none-linux ok-tiny.s -o ok-tiny.o + +# RUN: ld.lld ok-tiny.o a.so -pie -o external-tiny +# RUN: llvm-readelf -r -S -x .got exte

[llvm-branch-commits] [clang] [llvm] [LLVM] [Clang] Backport "Support for Gentoo `*t64` triples (64-bit time_t ABIs)" (PR #112364)

2024-10-30 Thread Alex Rønne Petersen via llvm-branch-commits
@@ -294,7 +294,11 @@ class Triple { PAuthTest, -LastEnvironmentType = PAuthTest +GNUT64, +GNUEABIT64, +GNUEABIHFT64, + +LastEnvironmentType = GNUEABIHFT64 alexrp wrote: Also, ABI aside, quoting [Release Patch Rules](https://llvm.org/

[llvm-branch-commits] [clang] [llvm] [LLVM] [Clang] Backport "Support for Gentoo `*t64` triples (64-bit time_t ABIs)" (PR #112364)

2024-10-30 Thread Tobias Hieta via llvm-branch-commits
@@ -294,7 +294,11 @@ class Triple { PAuthTest, -LastEnvironmentType = PAuthTest +GNUT64, +GNUEABIT64, +GNUEABIHFT64, + +LastEnvironmentType = GNUEABIHFT64 tru wrote: Hmm. That looks a bit odd. The Abi checker didn't catch this. Wonder

[llvm-branch-commits] [llvm] [RISCV][NFC] refactor CFI emitting (PR #114227)

2024-10-30 Thread Sam Elliott via llvm-branch-commits
@@ -27,6 +27,102 @@ using namespace llvm; +static unsigned getCaleeSavedRVVNumRegs(const Register &BaseReg) { lenary wrote: Typo ```suggestion static unsigned getCalleeSavedRVVNumRegs(const Register &BaseReg) { ``` https://github.com/llvm/llvm-project/pull

[llvm-branch-commits] [llvm] [RISCV][NFC] refactor CFI emitting (PR #114227)

2024-10-30 Thread Sam Elliott via llvm-branch-commits
https://github.com/lenary edited https://github.com/llvm/llvm-project/pull/114227 ___ 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] [RISCV][NFC] refactor CFI emitting (PR #114227)

2024-10-30 Thread Sam Elliott via llvm-branch-commits
@@ -27,6 +27,102 @@ using namespace llvm; +static unsigned getCaleeSavedRVVNumRegs(const Register &BaseReg) { + return RISCV::VRRegClass.contains(BaseReg) ? 1 + : RISCV::VRM2RegClass.contains(BaseReg) ? 2 + : RISCV::VRM4RegClass.contains(BaseReg) ? 4 +

[llvm-branch-commits] [llvm] [RISCV][NFC] refactor CFI emitting (PR #114227)

2024-10-30 Thread Sam Elliott via llvm-branch-commits
https://github.com/lenary commented: This cleanup is going in a nice direction, I think. A few suggestions/questions below. https://github.com/llvm/llvm-project/pull/114227 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https:

[llvm-branch-commits] [llvm] [RISCV][NFC] refactor CFI emitting (PR #114227)

2024-10-30 Thread Sam Elliott via llvm-branch-commits
@@ -27,6 +27,102 @@ using namespace llvm; +static unsigned getCaleeSavedRVVNumRegs(const Register &BaseReg) { + return RISCV::VRRegClass.contains(BaseReg) ? 1 + : RISCV::VRM2RegClass.contains(BaseReg) ? 2 + : RISCV::VRM4RegClass.contains(BaseReg) ? 4 +

[llvm-branch-commits] [llvm] [RISCV][NFC] refactor CFI emitting (PR #114227)

2024-10-30 Thread Sam Elliott via llvm-branch-commits
@@ -1737,39 +1776,14 @@ void RISCVFrameLowering::emitCalleeSavedRVVPrologCFI( for (auto &CS : RVVCSI) { // Insert the spill to the stack frame. int FI = CS.getFrameIdx(); lenary wrote: Is there a reason you didn't replace this loop with a call to `em

[llvm-branch-commits] [llvm] [RISCV][NFC] refactor CFI emitting (PR #114227)

2024-10-30 Thread Sam Elliott via llvm-branch-commits
@@ -27,6 +27,102 @@ using namespace llvm; +static unsigned getCaleeSavedRVVNumRegs(const Register &BaseReg) { + return RISCV::VRRegClass.contains(BaseReg) ? 1 + : RISCV::VRM2RegClass.contains(BaseReg) ? 2 + : RISCV::VRM4RegClass.contains(BaseReg) ? 4 +

[llvm-branch-commits] [mlir] [OpenMP][MLIR] Descriptor explicit member map lowering changes (PR #113556)

2024-10-30 Thread via llvm-branch-commits
https://github.com/agozillon updated https://github.com/llvm/llvm-project/pull/113556 >From b27db9198dedd284ea24161dc4fe6fcb3952814b Mon Sep 17 00:00:00 2001 From: agozillon Date: Fri, 4 Oct 2024 13:03:22 -0500 Subject: [PATCH] [OpenMP][MLIR] Descriptor explicit member map lowering changes Th

[llvm-branch-commits] [mlir] [OpenMP][MLIR] Descriptor explicit member map lowering changes (PR #113556)

2024-10-30 Thread via llvm-branch-commits
agozillon wrote: Ah yes, this one won't build, as MapInfoFinalization.cpp is a Flang change, as is the Utils.cpp/hpp and other complaints. This patch requires the changeset from 113557, so it's 113557 we should be looking at to pass, which it currently doesn't, so I'll have a look there. But d

[llvm-branch-commits] [llvm] 821d9ba - Revert "[GlobalISel] Import samesign flag (#113090)"

2024-10-30 Thread via llvm-branch-commits
Author: Thorsten Schütt Date: 2024-10-30T17:02:07+01:00 New Revision: 821d9bad7373f8ddc4d1c424c0d806f8c087faa3 URL: https://github.com/llvm/llvm-project/commit/821d9bad7373f8ddc4d1c424c0d806f8c087faa3 DIFF: https://github.com/llvm/llvm-project/commit/821d9bad7373f8ddc4d1c424c0d806f8c087faa3.dif

[llvm-branch-commits] [mlir] [MLIR][OpenMP] Emit descriptive errors for all unsupported clauses (PR #114037)

2024-10-30 Thread Tom Eccles via llvm-branch-commits
https://github.com/tblah approved this pull request. Thanks for this. Looks great! https://github.com/llvm/llvm-project/pull/114037 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/

[llvm-branch-commits] [flang] [Flang][OpenMP] Derived type explicit allocatable member mapping (PR #113557)

2024-10-30 Thread via llvm-branch-commits
agozillon wrote: Would love a review on this whenever you all get a bit of spare time! Thank you very much for your help and time it's greatly appreciated :-) https://github.com/llvm/llvm-project/pull/113557 ___ llvm-branch-commits mailing list llvm-

[llvm-branch-commits] [libcxx] [llvm] [libc++][C++03] Use `__cxx03/` headers in C++03 mode (PR #109002)

2024-10-30 Thread Louis Dionne via llvm-branch-commits
https://github.com/ldionne edited https://github.com/llvm/llvm-project/pull/109002 ___ 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] [libcxx] [llvm] [libc++][C++03] Use `__cxx03/` headers in C++03 mode (PR #109002)

2024-10-30 Thread Louis Dionne via llvm-branch-commits
@@ -14,6 +14,7 @@ #include <__configuration/abi.h> #include <__configuration/availability.h> #include <__configuration/compiler.h> +#include <__configuration/cxx03.h> ldionne wrote: Could we move `_LIBCPP_CXX03_LANG` into `language.h` instead? And it might be

[llvm-branch-commits] [libcxx] [llvm] [libc++][C++03] Use `__cxx03/` headers in C++03 mode (PR #109002)

2024-10-30 Thread Louis Dionne via llvm-branch-commits
https://github.com/ldionne commented: I think this makes sense, however I would like you to post this PR to the RFC, since we mentioned back then that the decision of Driver vs conditional includes would be best taken based on actual proposed changes. This will give this patch a bit more visib

[llvm-branch-commits] [libcxx] [llvm] [libc++][C++03] Use `__cxx03/` headers in C++03 mode (PR #109002)

2024-10-30 Thread Louis Dionne via llvm-branch-commits
@@ -0,0 +1,2 @@ +set(LIBCXX_TEST_PARAMS "std=c++03;test-cxx03-headers=True" CACHE STRING "") ldionne wrote: I would probably name this new param `use-frozen-cxx03-headers`. That tells what the setting does a bit more explicitly. https://github.com/llvm/llvm-pro

[llvm-branch-commits] [libcxx] [llvm] [libc++][C++03] Use `__cxx03/` headers in C++03 mode (PR #109002)

2024-10-30 Thread Louis Dionne via llvm-branch-commits
@@ -587,42 +587,48 @@ template */ -#include <__config> - -#include <__atomic/aliases.h> -#include <__atomic/atomic.h> -#include <__atomic/atomic_base.h> -#include <__atomic/atomic_flag.h> -#include <__atomic/atomic_init.h> -#include <__atomic/atomic_lock_free.h> -#include <_

[llvm-branch-commits] [libcxx] [llvm] [libc++][C++03] Use `__cxx03/` headers in C++03 mode (PR #109002)

2024-10-30 Thread Louis Dionne via llvm-branch-commits
@@ -1827,232 +1827,147 @@ template */ -#include <__config> - -#include <__algorithm/adjacent_find.h> -#include <__algorithm/all_of.h> -#include <__algorithm/any_of.h> -#include <__algorithm/binary_search.h> -#include <__algorithm/copy.h> -#include <__algorithm/copy_backward.

[llvm-branch-commits] [libcxx] [llvm] [libc++][C++03] Use `__cxx03/` headers in C++03 mode (PR #109002)

2024-10-30 Thread Louis Dionne via llvm-branch-commits
https://github.com/ldionne edited https://github.com/llvm/llvm-project/pull/109002 ___ 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] [llvm][fatlto] Drop any CFI related instrumentation after emitting bitcode (PR #112788)

2024-10-30 Thread Paul Kirth via llvm-branch-commits
https://github.com/ilovepi updated https://github.com/llvm/llvm-project/pull/112788 >From ad89d61e60bac57cf8c66a974d741377ebe1db30 Mon Sep 17 00:00:00 2001 From: Paul Kirth Date: Fri, 18 Oct 2024 01:59:26 + Subject: [PATCH] Use new enum in constructor Created using spr 1.3.4 --- llvm/lib/

[llvm-branch-commits] [llvm] AMDGPU/GlobalISel: Add skeletons for new register bank select passes (PR #112862)

2024-10-30 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm approved this pull request. https://github.com/llvm/llvm-project/pull/112862 ___ 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] [llvm][fatlto] Drop any CFI related instrumentation after emitting bitcode (PR #112788)

2024-10-30 Thread Paul Kirth via llvm-branch-commits
https://github.com/ilovepi updated https://github.com/llvm/llvm-project/pull/112788 >From ad89d61e60bac57cf8c66a974d741377ebe1db30 Mon Sep 17 00:00:00 2001 From: Paul Kirth Date: Fri, 18 Oct 2024 01:59:26 + Subject: [PATCH] Use new enum in constructor Created using spr 1.3.4 --- llvm/lib/

[llvm-branch-commits] [compiler-rt] release/19.x: [compiler-rt] [test] Fix using toolchains that rely on Clang default configs (#113491) (PR #114229)

2024-10-30 Thread Michał Górny via llvm-branch-commits
https://github.com/mgorny approved this pull request. LGTM https://github.com/llvm/llvm-project/pull/114229 ___ 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] [mlir] [OpenMP][MLIR] Descriptor explicit member map lowering changes (PR #113556)

2024-10-30 Thread via llvm-branch-commits
agozillon wrote: > LGTM, but buildbot errors in "MapInfoFinalization.cpp", > "MapsForPrivatizedSymbols.cpp" and "Utils.cpp" seem to be a consequence of > the type change to `members_index`. Hopefully it's a simple fix. I have a feeling it's just not setup correctly to layer on top of it's dep

[llvm-branch-commits] [mlir] [mlir][bufferization] Remove `finalizing-bufferize` pass (PR #114154)

2024-10-30 Thread Javed Absar via llvm-branch-commits
https://github.com/javedabsar1 commented: Hi Matthias. Will you delete references in docs in a different diff ? https://github.com/llvm/llvm-project/blob/main/mlir/docs/Bufferization.md?plain=1#L561 https://github.com/llvm/llvm-project/pull/114154 ___

[llvm-branch-commits] [libcxx] [libc++][C++03] Update include guards (PR #109001)

2024-10-30 Thread Louis Dionne via llvm-branch-commits
@@ -29,18 +29,18 @@ _LIBCPP_PUSH_MACROS // TODO: Find out how altivec changes things and allow vectorizations there too. #if _LIBCPP_STD_VER >= 14 && defined(_LIBCPP_CLANG_VER) && !defined(__ALTIVEC__) -# define _LIBCPP_HAS_ALGORITHM_VECTOR_UTILS 1 +# define _LIBCPP___CXX0

[llvm-branch-commits] [libcxx] [libc++][C++03] Update include guards (PR #109001)

2024-10-30 Thread Louis Dionne via llvm-branch-commits
https://github.com/ldionne edited https://github.com/llvm/llvm-project/pull/109001 ___ 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] [libcxx] [libc++][C++03] Update include guards (PR #109001)

2024-10-30 Thread Louis Dionne via llvm-branch-commits
@@ -41,7 +41,7 @@ template , int> = 0> [[nodiscard]] _LIBCPP_HIDE_FROM_ABI bool any_of(_ExecutionPolicy&& __policy, _ForwardIterator __first, _ForwardIterator __last, _Predicate __pred) { - _LIBCPP_REQUIRE_CPP17_FORWARD_ITERATOR(_ForwardIterator, "any_of requires a ForwardIte

[llvm-branch-commits] [libcxx] [libc++][C++03] Update include guards (PR #109001)

2024-10-30 Thread Louis Dionne via llvm-branch-commits
https://github.com/ldionne commented: This looks good to me in principle, however the patch itself has a few incorrect renamings. One thing you could do is use `git diff --stat` to confirm that all the changed files have exactly 3 lines changed in them. A few headers like the C compat headers

[llvm-branch-commits] [clang] release/19.x: [C++20] [Modules] Fix the duplicated static initializer problem (#114193) (PR #114197)

2024-10-30 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-clang-modules Author: None (llvmbot) Changes Backport 259eaa6878ead1e2e7ef572a874dc3d885c1899b Requested by: @ChuanqiXu9 --- Full diff: https://github.com/llvm/llvm-project/pull/114197.diff 2 Files Affected: - (modified) clang/lib/CodeGen/CodeGenMod

[llvm-branch-commits] [llvm] AMDGPU/GlobalISel: AMDGPURegBankSelect (PR #112863)

2024-10-30 Thread Petar Avramovic via llvm-branch-commits
https://github.com/petar-avramovic edited https://github.com/llvm/llvm-project/pull/112863 ___ 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] AMDGPU/GlobalISel: RegBankLegalize rules for load (PR #112882)

2024-10-30 Thread Petar Avramovic via llvm-branch-commits
https://github.com/petar-avramovic updated https://github.com/llvm/llvm-project/pull/112882 >From 4675f79f28222cef60d1607acb1b682ca3363eb6 Mon Sep 17 00:00:00 2001 From: Petar Avramovic Date: Wed, 30 Oct 2024 15:37:59 +0100 Subject: [PATCH] AMDGPU/GlobalISel: RegBankLegalize rules for load Add

[llvm-branch-commits] [llvm] MachineUniformityAnalysis: Improve isConstantOrUndefValuePhi (PR #112866)

2024-10-30 Thread Petar Avramovic via llvm-branch-commits
https://github.com/petar-avramovic updated https://github.com/llvm/llvm-project/pull/112866 >From 98a00e5a2ed28da3a4608d9c209a04f0cff6fe12 Mon Sep 17 00:00:00 2001 From: Petar Avramovic Date: Wed, 30 Oct 2024 15:41:59 +0100 Subject: [PATCH] MachineUniformityAnalysis: Improve isConstantOrUndefVa

[llvm-branch-commits] [compiler-rt] release/19.x: [compiler-rt] [test] Fix using toolchains that rely on Clang default configs (#113491) (PR #114229)

2024-10-30 Thread Sam James via llvm-branch-commits
https://github.com/thesamesam approved this pull request. https://github.com/llvm/llvm-project/pull/114229 ___ 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] [mlir] [OpenMP][MLIR] Descriptor explicit member map lowering changes (PR #113556)

2024-10-30 Thread Sergio Afonso via llvm-branch-commits
https://github.com/skatrak commented: LGTM, but buildbot errors in "MapInfoFinalization.cpp", "MapsForPrivatizedSymbols.cpp" and "Utils.cpp" seem to be a consequence of the type change to `members_index`. Hopefully it's a simple fix. https://github.com/llvm/llvm-project/pull/113556 ___

[llvm-branch-commits] [compiler-rt] release/19.x: [compiler-rt] [test] Fix using toolchains that rely on Clang default configs (#113491) (PR #114229)

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

[llvm-branch-commits] [compiler-rt] release/19.x: [compiler-rt] [test] Fix using toolchains that rely on Clang default configs (#113491) (PR #114229)

2024-10-30 Thread via llvm-branch-commits
https://github.com/llvmbot milestoned https://github.com/llvm/llvm-project/pull/114229 ___ 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] [compiler-rt] release/19.x: [compiler-rt] [test] Fix using toolchains that rely on Clang default configs (#113491) (PR #114229)

2024-10-30 Thread via llvm-branch-commits
https://github.com/llvmbot created https://github.com/llvm/llvm-project/pull/114229 Backport a14a83d9a102253eca7c02ff4c35a2ce3f7de6e5 Requested by: @mstorsjo >From 3f88a54c4eeb8d7c92aab78b39e9fb9162c6030c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Storsj=C3=B6?= Date: Thu, 24 Oct 2024

[llvm-branch-commits] [llvm] [RISCV][NFC] refactor CFI emitting (PR #114227)

2024-10-30 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-risc-v Author: None (dlav-sc) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/114227.diff 2 Files Affected: - (modified) llvm/lib/Target/RISCV/RISCVFrameLowering.cpp (+94-98) - (modified) llvm/lib/Target/RISCV/RISCVFrameLow

[llvm-branch-commits] [llvm] [RISCV][NFC] refactor CFI emitting (PR #114227)

2024-10-30 Thread via llvm-branch-commits
https://github.com/dlav-sc created https://github.com/llvm/llvm-project/pull/114227 None >From 825bc966611bb9a5e737f2ed65b524766998c261 Mon Sep 17 00:00:00 2001 From: Daniil Avdeev Date: Wed, 30 Oct 2024 13:24:21 + Subject: [PATCH] [RISCV][NFC] refactor CFI emitting --- llvm/lib/Target/R

[llvm-branch-commits] [clang] release/19.x: [C++20] [Modules] Fix the duplicated static initializer problem (#114193) (PR #114197)

2024-10-30 Thread via llvm-branch-commits
https://github.com/llvmbot milestoned https://github.com/llvm/llvm-project/pull/114197 ___ 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] [mlir] [MLIR][OpenMP] Emit descriptive errors for all unsupported clauses (PR #114037)

2024-10-30 Thread Michael Kruse via llvm-branch-commits
https://github.com/Meinersbur approved this pull request. LGTM https://github.com/llvm/llvm-project/pull/114037 ___ 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] [mlir] [MLIR][OpenMP] Emit descriptive errors for all unsupported clauses (PR #114037)

2024-10-30 Thread Sergio Afonso via llvm-branch-commits
@@ -640,6 +642,13 @@ convertOmpOrdered(Operation &opInst, llvm::IRBuilderBase &builder, return success(); } +static LogicalResult orderedRegionSupported(omp::OrderedRegionOp op) { skatrak wrote: This should be ready to review again. Now the implementation

[llvm-branch-commits] [mlir] [MLIR][OpenMP] Emit descriptive errors for all unsupported clauses (PR #114037)

2024-10-30 Thread Sergio Afonso via llvm-branch-commits
https://github.com/skatrak updated https://github.com/llvm/llvm-project/pull/114037 >From 5f9c42714f1f8168adcb55ef72bf10fd0f6db81a Mon Sep 17 00:00:00 2001 From: Sergio Afonso Date: Tue, 29 Oct 2024 11:18:07 + Subject: [PATCH 1/2] [MLIR][OpenMP] Emit descriptive errors for all unsupported

[llvm-branch-commits] [clang] release/19.x: [C++20] [Modules] Fix the duplicated static initializer problem (#114193) (PR #114197)

2024-10-30 Thread via llvm-branch-commits
https://github.com/llvmbot created https://github.com/llvm/llvm-project/pull/114197 Backport 259eaa6878ead1e2e7ef572a874dc3d885c1899b Requested by: @ChuanqiXu9 >From 6a3b8b5c12d45c5f981e90dae1a1e6c40d986cc7 Mon Sep 17 00:00:00 2001 From: Chuanqi Xu Date: Wed, 30 Oct 2024 17:27:04 +0800 Subjec

[llvm-branch-commits] [llvm] [CodeGen][NewPM] Port RegUsageInfoCollector pass to NPM (PR #113874)

2024-10-30 Thread Akshat Oke via llvm-branch-commits
https://github.com/optimisan updated https://github.com/llvm/llvm-project/pull/113874 >From a95b69c07c7804d2e2a10b939a178a191643a41c Mon Sep 17 00:00:00 2001 From: Akshat Oke Date: Mon, 28 Oct 2024 06:22:49 + Subject: [PATCH 1/4] [CodeGen][NewPM] Port RegUsageInfoCollector pass to NPM ---

[llvm-branch-commits] [llvm] [DataLayout][LangRef] Split non-integral and unstable pointer properties (PR #105735)

2024-10-30 Thread David Chisnall via llvm-branch-commits
davidchisnall wrote: I’m concerned about the semantics of unstable. This sounds like it would impact optimisation of memcmp, for example (is it still allowable to optimise away self comparisons?). I wouldn’t want that added to the LangRef without some clearer description of what optimisers *ca

[llvm-branch-commits] [llvm] [CodeGen][NewPM] Port RegUsageInfoPropagation pass to NPM (PR #114010)

2024-10-30 Thread Akshat Oke via llvm-branch-commits
https://github.com/optimisan updated https://github.com/llvm/llvm-project/pull/114010 >From 3370e24f9e9ec16b6404d7bcf3d72361c46934de Mon Sep 17 00:00:00 2001 From: Akshat Oke Date: Tue, 29 Oct 2024 07:14:30 + Subject: [PATCH 1/2] [CodeGen][NewPM] Port RegUsageInfoPropagation pass to NPM --

[llvm-branch-commits] [llvm] [CodeGen][NewPM] Port RegUsageInfoCollector pass to NPM (PR #113874)

2024-10-30 Thread Akshat Oke via llvm-branch-commits
https://github.com/optimisan updated https://github.com/llvm/llvm-project/pull/113874 >From a95b69c07c7804d2e2a10b939a178a191643a41c Mon Sep 17 00:00:00 2001 From: Akshat Oke Date: Mon, 28 Oct 2024 06:22:49 + Subject: [PATCH 1/4] [CodeGen][NewPM] Port RegUsageInfoCollector pass to NPM ---