[llvm-branch-commits] [mlir] [mlir][IR] Add helper functions to compute insertion point (PR #114940)

2024-11-08 Thread Matthias Springer via llvm-branch-commits
@@ -641,3 +641,76 @@ void OpBuilder::cloneRegionBefore(Region ®ion, Region &parent, void OpBuilder::cloneRegionBefore(Region ®ion, Block *before) { cloneRegionBefore(region, *before->getParent(), before->getIterator()); } + +//===-

[llvm-branch-commits] [mlir] [mlir][IR] Add helper functions to compute insertion point (PR #114940)

2024-11-08 Thread Matthias Springer via llvm-branch-commits
@@ -334,6 +334,18 @@ class OpBuilder : public Builder { /// This class represents a saved insertion point. class InsertPoint { public: +/// Finds the closest insertion point where all given values are defined matthias-springer wrote: Possible candida

[llvm-branch-commits] [mlir] [mlir][IR][NFC] `DominanceInfo`: Share same impl for block/op dominance (PR #115587)

2024-11-08 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-mlir-core Author: Matthias Springer (matthias-springer) Changes The `properlyDominates` implementations for blocks and ops are very similar. This commit replaces them with a single implementation that operates on block iterators. That implementation ca

[llvm-branch-commits] [mlir] [mlir][IR][NFC] `DominanceInfo`: Share same impl for block/op dominance (PR #115587)

2024-11-08 Thread Matthias Springer via llvm-branch-commits
https://github.com/matthias-springer created https://github.com/llvm/llvm-project/pull/115587 The `properlyDominates` implementations for blocks and ops are very similar. This commit replaces them with a single implementation that operates on block iterators. That implementation can be used to

[llvm-branch-commits] [lld] [PAC][lld][AArch64][ELF] Support signed TLSDESC (PR #113817)

2024-11-08 Thread Fangrui Song via llvm-branch-commits
https://github.com/MaskRay edited https://github.com/llvm/llvm-project/pull/113817 ___ 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] [lld] [PAC][lld][AArch64][ELF] Support signed TLSDESC (PR #113817)

2024-11-08 Thread Fangrui Song via llvm-branch-commits
@@ -1352,6 +1352,36 @@ unsigned RelocationScanner::handleTlsRelocation(RelExpr expr, RelType type, return 1; } + auto fatalBothAuthAndNonAuth = [&sym]() { +fatal("both AUTH and non-AUTH TLSDESC entries for '" + sym.getName() + MaskRay wrote: We no

[llvm-branch-commits] [llvm] [MC] Use StringRefs from pseudo_probe_desc section if it's mapped (PR #112996)

2024-11-08 Thread Amir Ayupov via llvm-branch-commits
https://github.com/aaupov updated https://github.com/llvm/llvm-project/pull/112996 >From a54e4f1f17c153272583eda3f7a2bbd7a928b34d Mon Sep 17 00:00:00 2001 From: Amir Ayupov Date: Fri, 18 Oct 2024 18:24:17 -0700 Subject: [PATCH] clang-format Created using spr 1.3.4 --- bolt/lib/Rewrite/PseudoP

[llvm-branch-commits] [llvm] [MC] Use StringRefs from pseudo_probe_desc section if it's mapped (PR #112996)

2024-11-08 Thread Amir Ayupov via llvm-branch-commits
https://github.com/aaupov updated https://github.com/llvm/llvm-project/pull/112996 >From a54e4f1f17c153272583eda3f7a2bbd7a928b34d Mon Sep 17 00:00:00 2001 From: Amir Ayupov Date: Fri, 18 Oct 2024 18:24:17 -0700 Subject: [PATCH] clang-format Created using spr 1.3.4 --- bolt/lib/Rewrite/PseudoP

[llvm-branch-commits] [llvm] [MC] Use StringRefs from pseudo_probe_desc section if it's mapped (PR #112996)

2024-11-08 Thread Lei Wang via llvm-branch-commits
https://github.com/wlei-llvm approved this pull request. Sorry for the delay, LGTM. https://github.com/llvm/llvm-project/pull/112996 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo

[llvm-branch-commits] [llvm] e06af1d - Revert "[X86][AMX] Support AMX-AVX512 (#114070)"

2024-11-08 Thread via llvm-branch-commits
Author: Alan Zhao Date: 2024-11-08T16:12:54-08:00 New Revision: e06af1d045a57e93ebf3c86c4ac70aa752a93fa1 URL: https://github.com/llvm/llvm-project/commit/e06af1d045a57e93ebf3c86c4ac70aa752a93fa1 DIFF: https://github.com/llvm/llvm-project/commit/e06af1d045a57e93ebf3c86c4ac70aa752a93fa1.diff LOG

[llvm-branch-commits] [llvm] [MC] Use StringRefs from pseudo_probe_desc section if it's mapped (PR #112996)

2024-11-08 Thread Amir Ayupov via llvm-branch-commits
aaupov wrote: ping @wlei-llvm https://github.com/llvm/llvm-project/pull/112996 ___ 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] [MC] Use StringRefs from pseudo_probe_desc section if it's mapped (PR #112996)

2024-11-08 Thread Amir Ayupov via llvm-branch-commits
https://github.com/aaupov edited https://github.com/llvm/llvm-project/pull/112996 ___ 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] Match blocks with pseudo probes (PR #99891)

2024-11-08 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/3] Reworked block probe matching Use new probe ifaces Get all func

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

2024-11-08 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/3] Reworked block probe matching Use new probe ifaces Get all func

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

2024-11-08 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)

2024-11-08 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 7be0b9e05cd110082fdba1f58f6b900756985981 3bd1ec25c2a99a23ac07b3e39e2d5d99a7a1dd2b --e

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

2024-11-08 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/5] Comment Created using spr 1.3.4 --- bolt/include/bolt/Profile/

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

2024-11-08 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/5] Comment Created using spr 1.3.4 --- bolt/include/bolt/Profile/

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

2024-11-08 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/3] Reworked block probe matching Use new probe ifaces Get all func

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

2024-11-08 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/3] Reworked block probe matching Use new probe ifaces Get all func

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

2024-11-08 Thread Amir Ayupov via llvm-branch-commits
aaupov wrote: > > > Ping @wlei-llvm > > > > > > Sorry for the delay. The new version addressed my last comment (with just > > minor nits). However, I didn't fully follow the new features related to > > `ProbeMatchSpecs` stuffs. Could you add more descriptions to the diff > > summary? Or if i

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

2024-11-08 Thread Matt Arsenault via llvm-branch-commits
@@ -66,9 +81,208 @@ FunctionPass *llvm::createAMDGPURegBankSelectPass() { return new AMDGPURegBankSelect(); } +class RegBankSelectHelper { + MachineIRBuilder &B; + MachineRegisterInfo &MRI; + AMDGPU::IntrinsicLaneMaskAnalyzer &ILMA; + const MachineUniformityInfo &MUI; +

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

2024-11-08 Thread Matt Arsenault via llvm-branch-commits
@@ -69,3 +72,37 @@ AMDGPU::getBaseWithConstantOffset(MachineRegisterInfo &MRI, Register Reg, return std::pair(Reg, 0); } + +IntrinsicLaneMaskAnalyzer::IntrinsicLaneMaskAnalyzer(MachineFunction &MF) +: MRI(MF.getRegInfo()) { + initLaneMaskIntrinsics(MF); +} + +bool Intr

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

2024-11-08 Thread Matt Arsenault via llvm-branch-commits
@@ -66,9 +81,208 @@ FunctionPass *llvm::createAMDGPURegBankSelectPass() { return new AMDGPURegBankSelect(); } +class RegBankSelectHelper { + MachineIRBuilder &B; + MachineRegisterInfo &MRI; + AMDGPU::IntrinsicLaneMaskAnalyzer &ILMA; + const MachineUniformityInfo &MUI; +

[llvm-branch-commits] [libcxx] [libc++] Stop copying headers to the build directory (PR #115380)

2024-11-08 Thread Alexander Richardson via llvm-branch-commits
arichardson wrote: Thanks for the review - will merge once https://github.com/llvm/llvm-project/pull/115387 has landed and CI is happy. https://github.com/llvm/llvm-project/pull/115380 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llv

[llvm-branch-commits] [libcxx] [libc++] Stop copying headers to the build directory (PR #115380)

2024-11-08 Thread Alexander Richardson via llvm-branch-commits
https://github.com/arichardson updated https://github.com/llvm/llvm-project/pull/115380 >From e26c0f6fd46cdc74eb96e342ff14acc5b8d64a84 Mon Sep 17 00:00:00 2001 From: Alex Richardson Date: Thu, 7 Nov 2024 14:20:52 -0800 Subject: [PATCH] =?UTF-8?q?[=F0=9D=98=80=F0=9D=97=BD=F0=9D=97=BF]=20initia?=

[llvm-branch-commits] [libcxx] [libc++] Stop copying headers to the build directory (PR #115380)

2024-11-08 Thread Alexander Richardson via llvm-branch-commits
https://github.com/arichardson updated https://github.com/llvm/llvm-project/pull/115380 >From e26c0f6fd46cdc74eb96e342ff14acc5b8d64a84 Mon Sep 17 00:00:00 2001 From: Alex Richardson Date: Thu, 7 Nov 2024 14:20:52 -0800 Subject: [PATCH] =?UTF-8?q?[=F0=9D=98=80=F0=9D=97=BD=F0=9D=97=BF]=20initia?=

[llvm-branch-commits] [llvm] [CodeGen][NewPM] Port MachineSink to NPM (PR #115434)

2024-11-08 Thread Akshat Oke via llvm-branch-commits
@@ -0,0 +1,26 @@ +//===- MachineSink.h *- C++ -*-===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apa

[llvm-branch-commits] [llvm] [CodeGen][NewPM] Port MachineSink to NPM (PR #115434)

2024-11-08 Thread Matt Arsenault via llvm-branch-commits
@@ -127,6 +130,8 @@ class MachineSinking : public MachineFunctionPass { const MachineBranchProbabilityInfo *MBPI = nullptr; AliasAnalysis *AA = nullptr; RegisterClassInfo RegClassInfo; + Pass *LegacyPass; + MachineFunctionAnalysisManager *MFAM; arsenm w

[llvm-branch-commits] [llvm] [AMDGPU] Fix (PR #115505)

2024-11-08 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-amdgpu Author: Shilei Tian (shiltian) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/115505.diff 1 Files Affected: - (modified) llvm/lib/Target/AMDGPU/SIFrameLowering.cpp (+10-1) ``diff diff --git a/llvm/lib/Targ

[llvm-branch-commits] [llvm] [AMDGPU] Fix (PR #115505)

2024-11-08 Thread Shilei Tian via llvm-branch-commits
https://github.com/shiltian closed https://github.com/llvm/llvm-project/pull/115505 ___ 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] Fix (PR #115505)

2024-11-08 Thread Shilei Tian via llvm-branch-commits
shiltian 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/115505?utm_source=stack-comment-downstack-mergeability-warning"

[llvm-branch-commits] [llvm] [AMDGPU] Fix (PR #115505)

2024-11-08 Thread Shilei Tian via llvm-branch-commits
https://github.com/shiltian created https://github.com/llvm/llvm-project/pull/115505 None >From 8162e61b66ee56e476cf4987a9faff89dfdfc3d0 Mon Sep 17 00:00:00 2001 From: Shilei Tian Date: Tue, 29 Oct 2024 01:29:40 -0400 Subject: [PATCH] [AMDGPU] Fix --- llvm/lib/Target/AMDGPU/SIFrameLowering.c

[llvm-branch-commits] [llvm] [AMDGPU] Still set up the two SGPRs for queue ptr even it is COV5 (PR #112403)

2024-11-08 Thread Shilei Tian via llvm-branch-commits
https://github.com/shiltian edited https://github.com/llvm/llvm-project/pull/112403 ___ 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] [CodeGen][NewPM] Port MachineSink to NPM (PR #115434)

2024-11-08 Thread Chris Apple via llvm-branch-commits
cjappl wrote: (sorry I don't know anything about this part of the codebase, so I am removing myself from the reviewers) https://github.com/llvm/llvm-project/pull/115434 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://l

[llvm-branch-commits] [llvm] [CodeGen][NewPM] Port MachineSink to NPM (PR #115434)

2024-11-08 Thread via llvm-branch-commits
@@ -0,0 +1,26 @@ +//===- MachineSink.h *- C++ -*-===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apa

[llvm-branch-commits] [libcxx] [libc++] Stop copying headers to the build directory (PR #115380)

2024-11-08 Thread Nikolas Klauser via llvm-branch-commits
@@ -1021,17 +1021,8 @@ set(files configure_file("__config_site.in" "${LIBCXX_GENERATED_INCLUDE_TARGET_DIR}/__config_site" @ONLY) philnik777 wrote: I think this change is fine. I'll have to modify this anyways and removing the copying now means I won't introduc

[llvm-branch-commits] [flang] [flang][OpenMP] Semantic checks for DOACROSS clause (PR #115397)

2024-11-08 Thread Krzysztof Parzyszek via llvm-branch-commits
https://github.com/kparzysz edited https://github.com/llvm/llvm-project/pull/115397 ___ 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] 4e1351c - Revert "[Clang][HIP] Deprecate the AMDGCN_WAVEFRONT_SIZE macros (#112849)"

2024-11-08 Thread via llvm-branch-commits
Author: Fabian Ritter Date: 2024-11-08T16:19:59+01:00 New Revision: 4e1351cf2eb08cc4d8ba1ee5538d3a8e7cfa5aa8 URL: https://github.com/llvm/llvm-project/commit/4e1351cf2eb08cc4d8ba1ee5538d3a8e7cfa5aa8 DIFF: https://github.com/llvm/llvm-project/commit/4e1351cf2eb08cc4d8ba1ee5538d3a8e7cfa5aa8.diff

[llvm-branch-commits] [flang] [flang][OpenMP] Semantic checks for DOACROSS clause (PR #115397)

2024-11-08 Thread Krzysztof Parzyszek via llvm-branch-commits
@@ -541,6 +541,7 @@ void OmpStructureChecker::Leave(const parser::OpenMPConstruct &) { } void OmpStructureChecker::Enter(const parser::OpenMPLoopConstruct &x) { + loopStack_.push_back(&x); kparzysz wrote: The loopStack was added to keep track of the inducti

[llvm-branch-commits] [flang] [flang][OpenMP] Semantic checks for DOACROSS clause (PR #115397)

2024-11-08 Thread Tom Eccles via llvm-branch-commits
@@ -933,11 +934,19 @@ void OmpStructureChecker::CheckDistLinear( } } -void OmpStructureChecker::Leave(const parser::OpenMPLoopConstruct &) { +void OmpStructureChecker::Leave(const parser::OpenMPLoopConstruct &x) { if (llvm::omp::allSimdSet.test(GetContext().directive)) {

[llvm-branch-commits] [flang] [flang][OpenMP] Semantic checks for DOACROSS clause (PR #115397)

2024-11-08 Thread Tom Eccles via llvm-branch-commits
@@ -541,6 +541,7 @@ void OmpStructureChecker::Leave(const parser::OpenMPConstruct &) { } void OmpStructureChecker::Enter(const parser::OpenMPLoopConstruct &x) { + loopStack_.push_back(&x); tblah wrote: Is this needed for non-assertion builds? https://githu

[llvm-branch-commits] [clang] [flang] [lld] [llvm] [Flang] LLVM_ENABLE_RUNTIMES=flang-rt (PR #110217)

2024-11-08 Thread via llvm-branch-commits
jeanPerier wrote: When building the runtime out of tree and running check-flang-rt, I am seeing an error about LLVM header not found: ``` make -j check-flang-rt [ 1%] Building CXX object flang-rt/unittests/third-party/unittest/CMakeFiles/llvm_gtest.dir/googletest/src/gtest-all.cc.o [ 1%] Bui

[llvm-branch-commits] [flang] [flang][OpenMP] Semantic checks for DOACROSS clause (PR #115397)

2024-11-08 Thread Krzysztof Parzyszek via llvm-branch-commits
https://github.com/kparzysz updated https://github.com/llvm/llvm-project/pull/115397 >From 4165254e8c4a7b572e741cb62d632b462537dc0f Mon Sep 17 00:00:00 2001 From: Krzysztof Parzyszek Date: Tue, 5 Nov 2024 12:01:43 -0600 Subject: [PATCH 1/4] [flang][OpenMP] Semantic checks for DOACROSS clause K

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

2024-11-08 Thread Petar Avramovic via llvm-branch-commits
https://github.com/petar-avramovic updated https://github.com/llvm/llvm-project/pull/112866 >From 686c0699e6653c1a11e7e911ccf4de107d390066 Mon Sep 17 00:00:00 2001 From: Petar Avramovic Date: Thu, 31 Oct 2024 14:10:57 +0100 Subject: [PATCH] MachineUniformityAnalysis: Improve isConstantOrUndefVa

[llvm-branch-commits] [llvm] AMDGPU/GlobalISel: RegBankLegalize rules for load (PR #112882)

2024-11-08 Thread Petar Avramovic via llvm-branch-commits
https://github.com/petar-avramovic updated https://github.com/llvm/llvm-project/pull/112882 >From b7366209b93a07f286842f31bb625ca321b47df4 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] [libcxx] [libc++] Stop copying headers to the build directory (PR #115380)

2024-11-08 Thread Louis Dionne via llvm-branch-commits
@@ -1021,17 +1021,8 @@ set(files configure_file("__config_site.in" "${LIBCXX_GENERATED_INCLUDE_TARGET_DIR}/__config_site" @ONLY) ldionne wrote: @philnik777 Should be be modifying the C++03 `CMakeLists.txt` at all? https://github.com/llvm/llvm-project/pull/1153

[llvm-branch-commits] [libcxx] [libc++] Stop copying headers to the build directory (PR #115380)

2024-11-08 Thread Louis Dionne via llvm-branch-commits
https://github.com/ldionne edited https://github.com/llvm/llvm-project/pull/115380 ___ 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++] Stop copying headers to the build directory (PR #115380)

2024-11-08 Thread Louis Dionne via llvm-branch-commits
https://github.com/ldionne approved this pull request. This looks great, this is a really nice cleanup. Thank you! Let's just wait until we know what to do with the C++03 CMakeLists but I'm OK with merging this once that's settled, if CI is green. https://github.com/llvm/llvm-project/pull/1153

[llvm-branch-commits] [libcxx] [libc++] Stop copying headers to the build directory (PR #115380)

2024-11-08 Thread Louis Dionne via llvm-branch-commits
@@ -1043,17 +1043,8 @@ set(files configure_file("__config_site.in" "${LIBCXX_GENERATED_INCLUDE_TARGET_DIR}/__config_site" @ONLY) configure_file("${LIBCXX_ASSERTION_HANDLER_FILE}" "${LIBCXX_GENERATED_INCLUDE_DIR}/__assertion_handler" COPYONLY) -set(_all_includes "${LIBCXX_GEN

[llvm-branch-commits] [clang] [clang][CIR] Merge the mlir::cir namespace into cir (PR #115386)

2024-11-08 Thread Erich Keane via llvm-branch-commits
https://github.com/erichkeane approved this pull request. https://github.com/llvm/llvm-project/pull/115386 ___ 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][CIR] Merge the mlir::cir namespace into cir (PR #115386)

2024-11-08 Thread Aaron Ballman via llvm-branch-commits
https://github.com/AaronBallman approved this pull request. LGTM https://github.com/llvm/llvm-project/pull/115386 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commit

[llvm-branch-commits] [mlir] [mlir][IR] Add helper functions to compute insertion point (PR #114940)

2024-11-08 Thread Mehdi Amini via llvm-branch-commits
@@ -641,3 +641,76 @@ void OpBuilder::cloneRegionBefore(Region ®ion, Region &parent, void OpBuilder::cloneRegionBefore(Region ®ion, Block *before) { cloneRegionBefore(region, *before->getParent(), before->getIterator()); } + +//===-

[llvm-branch-commits] [mlir] [mlir][IR] Add helper functions to compute insertion point (PR #114940)

2024-11-08 Thread Mehdi Amini via llvm-branch-commits
@@ -334,6 +334,18 @@ class OpBuilder : public Builder { /// This class represents a saved insertion point. class InsertPoint { public: +/// Finds the closest insertion point where all given values are defined joker-eph wrote: It's not clear to me tha

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

2024-11-08 Thread Chuanqi Xu via llvm-branch-commits
ChuanqiXu9 wrote: @vgvassilev @ilya-biryukov @alexfh If I read correctly, the only blocker issue is the above reported performance issue. And I tried to split partial specialization from the full specialization table to avoid merging tables again and again. Could you please take another round

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

2024-11-08 Thread Chuanqi Xu via llvm-branch-commits
https://github.com/ChuanqiXu9 updated https://github.com/llvm/llvm-project/pull/83237 >From 493cb7cdafeb22efa9e9f3c1954b6de1e2665365 Mon Sep 17 00:00:00 2001 From: Chuanqi Xu Date: Wed, 28 Feb 2024 11:41:53 +0800 Subject: [PATCH 1/2] [Serialization] Code cleanups and polish 83233 --- clang/in

[llvm-branch-commits] [clang] [Serialization] Introduce OnDiskHashTable for specializations (PR #83233)

2024-11-08 Thread Chuanqi Xu via llvm-branch-commits
https://github.com/ChuanqiXu9 updated https://github.com/llvm/llvm-project/pull/83233 >From 11726437efb760c9f2aba9b2258337b2b8eb4bb6 Mon Sep 17 00:00:00 2001 From: Chuanqi Xu Date: Fri, 8 Nov 2024 17:19:33 +0800 Subject: [PATCH] [Serialization] Introduce OnDiskHashTable for specializations ---

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

2024-11-08 Thread Chuanqi Xu via llvm-branch-commits
ChuanqiXu9 wrote: Sorry for the not good stacked PR operation. https://github.com/llvm/llvm-project/pull/83237 ___ 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] [Serialization] Introduce OnDiskHashTable for specializations (PR #83233)

2024-11-08 Thread Chuanqi Xu via llvm-branch-commits
https://github.com/ChuanqiXu9 updated https://github.com/llvm/llvm-project/pull/83233 >From f565dd3f156bbdf608be6643208c40f02b4f0e83 Mon Sep 17 00:00:00 2001 From: Chuanqi Xu Date: Wed, 28 Feb 2024 11:41:53 +0800 Subject: [PATCH] [Serialization] Introduce OnDiskHashTable for specializations Fo