[llvm-branch-commits] [sanitizer] Add TryMemCpy (PR #112668)

2024-10-16 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-compiler-rt-sanitizer Author: Vitaly Buka (vitalybuka) Changes For posix implementation is similar to `IsAccessibleMemoryRange`, using `pipe`. We need this because we can't rely on non-atomic `IsAccessibleMemoryRange` + `memcpy`, as the protection or ma

[llvm-branch-commits] [sanitizer] Add TryMemCpy (PR #112668)

2024-10-16 Thread Vitaly Buka via llvm-branch-commits
https://github.com/vitalybuka created https://github.com/llvm/llvm-project/pull/112668 For posix implementation is similar to `IsAccessibleMemoryRange`, using `pipe`. We need this because we can't rely on non-atomic `IsAccessibleMemoryRange` + `memcpy`, as the protection or mapping may change a

[llvm-branch-commits] [llvm] [CGData][llvm-cgdata] Support for stable function map (PR #112664)

2024-10-16 Thread Kyungwoo Lee via llvm-branch-commits
https://github.com/kyulee-com updated https://github.com/llvm/llvm-project/pull/112664 >From 3b73ee558d57434ee1f8447ac2509db371d95d8f Mon Sep 17 00:00:00 2001 From: Kyungwoo Lee Date: Mon, 9 Sep 2024 19:38:05 -0700 Subject: [PATCH] [CGData][llvm-cgdata] Support for stable function map This int

[llvm-branch-commits] [nfc][lsan] Extract significant part of the loop into a function (PR #112610)

2024-10-16 Thread Vitaly Buka via llvm-branch-commits
https://github.com/vitalybuka updated https://github.com/llvm/llvm-project/pull/112610 ___ 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] [nfc][lsan] Extract significant part of the loop into a function (PR #112610)

2024-10-16 Thread Vitaly Buka via llvm-branch-commits
https://github.com/vitalybuka updated https://github.com/llvm/llvm-project/pull/112610 ___ 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] [CGData][llvm-cgdata] Support for stable function map (PR #112664)

2024-10-16 Thread Kyungwoo Lee via llvm-branch-commits
https://github.com/kyulee-com created https://github.com/llvm/llvm-project/pull/112664 This introduces a new cgdata format for stable function maps. The raw data is embedded in the __llvm_merge section during compile time. This data can be read and merged using the llvm-cgdata tool, into an in

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

2024-10-16 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 b61bcaafa3700b0797772df58710158eb44eaa69 5df9f526236cff3b2212088bf6bf52c6802044e2 --e

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

2024-10-16 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 a2cac54ad725c18827226f74675312ace0239fa3 b61bcaafa3700b0797772df58710158eb44eaa69 --e

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

2024-10-16 Thread Chuanqi Xu via llvm-branch-commits
ChuanqiXu9 wrote: > There were some merge conflicts with main, I've managed to resolve them to > this: https://github.com/ilya-biryukov/llvm-project/tree/pr83237_merged > > I am now trying to bootstrap the compiler with that version, but it would be > useful if someone rebased this PR against

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

2024-10-16 Thread Chuanqi Xu via llvm-branch-commits
https://github.com/ChuanqiXu9 updated https://github.com/llvm/llvm-project/pull/83237 >From 5df9f526236cff3b2212088bf6bf52c6802044e2 Mon Sep 17 00:00:00 2001 From: Chuanqi Xu Date: Wed, 28 Feb 2024 11:41:53 +0800 Subject: [PATCH] [Serialization] Code cleanups and polish 83233 fmt load special

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

2024-10-16 Thread Chuanqi Xu via llvm-branch-commits
https://github.com/ChuanqiXu9 updated https://github.com/llvm/llvm-project/pull/83233 >From b61bcaafa3700b0797772df58710158eb44eaa69 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

[llvm-branch-commits] [llvm] [CGData] Stable Function Map (PR #112662)

2024-10-16 Thread Kyungwoo Lee via llvm-branch-commits
https://github.com/kyulee-com created https://github.com/llvm/llvm-project/pull/112662 These define the main data structures to represent stable functions and group similar functions in a function map. Serialization is supported in a binary or yaml form. >From e7272c3a0293a0b2972e893335d652cc1

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

2024-10-16 Thread Matt Arsenault via llvm-branch-commits
arsenm wrote: > The only test failure is `CodeGen/AMDGPU/call-args-inreg.ll`. It crashes when > lowering function `test_call_external_void_func_a15i32_inreg`. > > https://github.com/llvm/llvm-project/blob/8d13e7b8c382499c1cf0c2a3184b483e760f266b/llvm/lib/Target/AMDGPU/SIFrameLowering.cpp#L905

[llvm-branch-commits] [nfc][lsan] Restructure loop in ProcessThreads (PR #112609)

2024-10-16 Thread Vitaly Buka via llvm-branch-commits
https://github.com/vitalybuka updated https://github.com/llvm/llvm-project/pull/112609 ___ 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] [nfc][lsan] Restructure loop in ProcessThreads (PR #112609)

2024-10-16 Thread Vitaly Buka via llvm-branch-commits
https://github.com/vitalybuka updated https://github.com/llvm/llvm-project/pull/112609 ___ 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] Still set up the two SGPRs for queue ptr even it is COV5 (PR #112403)

2024-10-16 Thread Shilei Tian via llvm-branch-commits
@@ -4,12 +4,12 @@ define amdgpu_kernel void @s_clear_msb(ptr addrspace(1) %out, i32 %in) { ; SI-LABEL: s_clear_msb: ; SI: ; %bb.0: -; SI-NEXT:s_load_dword s4, s[2:3], 0xb -; SI-NEXT:s_load_dwordx2 s[0:1], s[2:3], 0x9 +; SI-NEXT:s_load_dword s6, s[4:5], 0xb +;

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

2024-10-16 Thread Shilei Tian via llvm-branch-commits
shiltian wrote: The only test failure is `CodeGen/AMDGPU/call-args-inreg.ll`. It crashes when lowering function `test_call_external_void_func_a15i32_inreg`. https://github.com/llvm/llvm-project/blob/8d13e7b8c382499c1cf0c2a3184b483e760f266b/llvm/lib/Target/AMDGPU/SIFrameLowering.cpp#L905 https:

[llvm-branch-commits] [llvm] [StructuralHash] Support Differences (PR #112638)

2024-10-16 Thread Kyungwoo Lee via llvm-branch-commits
https://github.com/kyulee-com created https://github.com/llvm/llvm-project/pull/112638 This comutes a structural hash while allowing for selective ignoring of certain operands based on a custom function that is provided. Instead of a single hash value, it now returns FunctionHashInfo which inc

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

2024-10-16 Thread Shilei Tian via llvm-branch-commits
https://github.com/shiltian ready_for_review 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] [nfc][lsan] Restructure loop in ProcessThreads (PR #112609)

2024-10-16 Thread Florian Mayer via llvm-branch-commits
https://github.com/fmayer approved this pull request. https://github.com/llvm/llvm-project/pull/112609 ___ 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] [nfc][lsan] Extract significant part of the loop into a function (PR #112610)

2024-10-16 Thread Florian Mayer via llvm-branch-commits
https://github.com/fmayer approved this pull request. https://github.com/llvm/llvm-project/pull/112610 ___ 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] [llvm] [Flang] Move runtime library files to clang-rt. NFC (PR #110298)

2024-10-16 Thread Valentin Clement バレンタイン クレメン via llvm-branch-commits
https://github.com/clementval edited https://github.com/llvm/llvm-project/pull/110298 ___ 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] [llvm] [Flang] Move runtime library files to clang-rt. NFC (PR #110298)

2024-10-16 Thread Valentin Clement バレンタイン クレメン via llvm-branch-commits
https://github.com/clementval requested changes to this pull request. See comment about CUDA Fortran directory name https://github.com/llvm/llvm-project/pull/110298 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.l

[llvm-branch-commits] [flang] [llvm] [Flang] Move runtime library files to clang-rt. NFC (PR #110298)

2024-10-16 Thread Valentin Clement バレンタイン クレメン via llvm-branch-commits
https://github.com/clementval edited https://github.com/llvm/llvm-project/pull/110298 ___ 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] [llvm] [Flang] Move runtime library files to clang-rt. NFC (PR #110298)

2024-10-16 Thread Valentin Clement バレンタイン クレメン via llvm-branch-commits
@@ -1,4 +1,4 @@ -//===-- include/FortranRuntime/Runtime/array-constructor.h --*- C++ -*-===// +//===-- include/flang-rt/flang_rt/array-constructor.h ---*- C++ -*-===// clementval wrote: That feels strange to me. I hope we can come out with a better

[llvm-branch-commits] [flang] [llvm] [Flang] Move runtime library files to clang-rt. NFC (PR #110298)

2024-10-16 Thread Valentin Clement バレンタイン クレメン via llvm-branch-commits
@@ -1,13 +1,13 @@ -//===-- include/flang/Runtime/CUDA/allocator.h --*- C++ -*-===// +//===-- include/flang-rt/CufRuntime/allocator.h -*- C++ -*-===// clementval wrote: As @klausler mentioned, this is the "CUDA" part of the Fortra

[llvm-branch-commits] [nfc][lsan] Extract significant part of the loop into a function (PR #112610)

2024-10-16 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-compiler-rt-sanitizer Author: Vitaly Buka (vitalybuka) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/112610.diff 1 Files Affected: - (modified) compiler-rt/lib/lsan/lsan_common.cpp (+108-101) ``diff diff --git a/compile

[llvm-branch-commits] [nfc][lsan] Extract significant part of the loop into a function (PR #112610)

2024-10-16 Thread Vitaly Buka via llvm-branch-commits
https://github.com/vitalybuka created https://github.com/llvm/llvm-project/pull/112610 None ___ 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] [flang] [lld] [llvm] [Flang] LLVM_ENABLE_RUNTIMES=FortranRuntime (PR #110217)

2024-10-16 Thread Louis Dionne via llvm-branch-commits
@@ -24,7 +24,7 @@ list(INSERT CMAKE_MODULE_PATH 0 # We order libraries to mirror roughly how they are layered, except that compiler-rt can depend # on libc++, so we put it after. set(LLVM_DEFAULT_RUNTIMES "libc;libunwind;libcxxabi;pstl;libcxx;compiler-rt;openmp;offload") -set

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

2024-10-16 Thread Louis Dionne via llvm-branch-commits
@@ -261,6 +263,7 @@ function(runtime_default_target) llvm_ExternalProject_Add(runtimes ${CMAKE_CURRENT_SOURCE_DIR}/../../runtimes DEPENDS ${ARG_DEPENDS} + ${enable_fortran} ldionn

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

2024-10-16 Thread Louis Dionne via llvm-branch-commits
@@ -34,6 +34,8 @@ endfunction() # llvm_ExternalProject_Add(name source_dir ... +# ENABLE_FORTRAN +# External project requires the Flang compiler ldionne wrote: Ah, I see now, `clang` is being added implicitly if you don't specify any required toolchai

[llvm-branch-commits] [flang] [llvm] [Flang] Move runtime library files to clang-rt. NFC (PR #110298)

2024-10-16 Thread Peter Klausler via llvm-branch-commits
@@ -1,13 +1,13 @@ -//===-- include/flang/Runtime/CUDA/allocator.h --*- C++ -*-===// +//===-- include/flang-rt/CufRuntime/allocator.h -*- C++ -*-===// klausler wrote: CUDA Fortran is the name of the language. "cuf" is a filename

[llvm-branch-commits] [flang] [llvm] [Flang] Move runtime library files to clang-rt. NFC (PR #110298)

2024-10-16 Thread Michael Kruse via llvm-branch-commits
@@ -1,4 +1,4 @@ -//===-- include/FortranRuntime/Runtime/array-constructor.h --*- C++ -*-===// +//===-- include/flang-rt/flang_rt/array-constructor.h ---*- C++ -*-===// Meinersbur wrote: I updated the summary to explain this: The folder structure of

[llvm-branch-commits] [flang] [llvm] [Flang] Move runtime library files to clang-rt. NFC (PR #110298)

2024-10-16 Thread Michael Kruse via llvm-branch-commits
@@ -1,13 +1,13 @@ -//===-- include/flang/Runtime/CUDA/allocator.h --*- C++ -*-===// +//===-- include/flang-rt/CufRuntime/allocator.h -*- C++ -*-===// Meinersbur wrote: These are the files linked into a library called `CufRuntime

[llvm-branch-commits] [nfc][lsan] Restructure loop in ProcessThreads (PR #112609)

2024-10-16 Thread Vitaly Buka via llvm-branch-commits
https://github.com/vitalybuka edited https://github.com/llvm/llvm-project/pull/112609 ___ 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] [NFC][lsan] Restructure loop in ProcessThreads (PR #112609)

2024-10-16 Thread Vitaly Buka via llvm-branch-commits
https://github.com/vitalybuka edited https://github.com/llvm/llvm-project/pull/112609 ___ 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] [NFC][lsan] Restructure loop in ProcessThreads (PR #112609)

2024-10-16 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-compiler-rt-sanitizer Author: Vitaly Buka (vitalybuka) Changes The goal is to move `SuspendedThreadsList` into the begining of the loop, and prepare for extraction the rest of the loop body into a function. --- Full diff: https://github.com/llvm/llvm-p

[llvm-branch-commits] [nfc][lsan] Move up vectors cleanup (PR #112608)

2024-10-16 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-compiler-rt-sanitizer Author: Vitaly Buka (vitalybuka) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/112608.diff 1 Files Affected: - (modified) compiler-rt/lib/lsan/lsan_common.cpp (+2-1) ``diff diff --git a/compiler-rt

[llvm-branch-commits] [NFC][lsan] Restructure loop in ProcessThreads (PR #112609)

2024-10-16 Thread Vitaly Buka via llvm-branch-commits
https://github.com/vitalybuka created https://github.com/llvm/llvm-project/pull/112609 The goal is to move `SuspendedThreadsList` into the begining of the loop, and prepare for extraction the rest of the loop body into a function. ___ llvm-branch-co

[llvm-branch-commits] [nfc][lsan] Move up vectors cleanup (PR #112608)

2024-10-16 Thread Vitaly Buka via llvm-branch-commits
https://github.com/vitalybuka created https://github.com/llvm/llvm-project/pull/112608 None ___ 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: Undef _TIME_BITS along with _FILE_OFFSET_BITS (PR #112247)

2024-10-16 Thread Sam James via llvm-branch-commits
https://github.com/thesamesam approved this pull request. https://github.com/llvm/llvm-project/pull/112247 ___ 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: Undef _TIME_BITS along with _FILE_OFFSET_BITS (PR #112247)

2024-10-16 Thread Michał Górny via llvm-branch-commits
https://github.com/mgorny approved this pull request. https://github.com/llvm/llvm-project/pull/112247 ___ 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] Split runtime headers in preparation for cross-compilation. (PR #112188)

2024-10-16 Thread Michael Kruse via llvm-branch-commits
Meinersbur wrote: > On what targets would the size or member byte offsets in a descriptor differ? Any 16- and 32-bit target; x32; 128-bit tagged pointer targets such as CHERI-128. https://github.com/llvm/llvm-project/pull/112188 ___ llvm-branch-commi

[llvm-branch-commits] [flang] [Flang] Split runtime headers in preparation for cross-compilation. (PR #112188)

2024-10-16 Thread Michael Kruse via llvm-branch-commits
@@ -29,8 +29,8 @@ mlir::Value fir::runtime::genInitArrayConstructorVector( // the target. The "cookieSize" argument is used to validate this wild // assumption until runtime interfaces are improved. Meinersbur wrote: Removed in https://github.com/llvm/llvm

[llvm-branch-commits] [flang] [Flang] Split runtime headers in preparation for cross-compilation. (PR #112188)

2024-10-16 Thread Michael Kruse via llvm-branch-commits
https://github.com/Meinersbur edited https://github.com/llvm/llvm-project/pull/112188 ___ 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] Split runtime headers in preparation for cross-compilation. NFC. (PR #112188)

2024-10-16 Thread Michael Kruse via llvm-branch-commits
https://github.com/Meinersbur updated https://github.com/llvm/llvm-project/pull/112188 >From 42e5abb5b291e78aeb152d7c636c75fe4d90492a Mon Sep 17 00:00:00 2001 From: Michael Kruse Date: Mon, 14 Oct 2024 13:55:16 +0200 Subject: [PATCH 1/4] Split headers in preparation for cross-compilation. NFC.

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

2024-10-16 Thread Peter Klausler via llvm-branch-commits
@@ -11,8 +11,11 @@ using namespace Fortran::parser::literals; + klausler wrote: why are these new blank lines necessary? https://github.com/llvm/llvm-project/pull/110217 ___ llvm-branch-commits mailing list llvm-b

[llvm-branch-commits] [flang] [llvm] [Flang] Move runtime library files to clang-rt. NFC (PR #110298)

2024-10-16 Thread Valentin Clement バレンタイン クレメン via llvm-branch-commits
@@ -1,4 +1,4 @@ -//===-- include/FortranRuntime/Runtime/array-constructor.h --*- C++ -*-===// +//===-- include/flang-rt/flang_rt/array-constructor.h ---*- C++ -*-===// clementval wrote: Why do we need this double directory with similar names. Can th

[llvm-branch-commits] [flang] [llvm] [Flang] Move runtime library files to clang-rt. NFC (PR #110298)

2024-10-16 Thread Valentin Clement バレンタイン クレメン via llvm-branch-commits
@@ -1,13 +1,13 @@ -//===-- include/flang/Runtime/CUDA/allocator.h --*- C++ -*-===// +//===-- include/flang-rt/CufRuntime/allocator.h -*- C++ -*-===// clementval wrote: I would prefer to keep CUDA here rather than CufRuntime. ht

[llvm-branch-commits] [flang] [Flang] Split runtime headers in preparation for cross-compilation. NFC. (PR #112188)

2024-10-16 Thread Valentin Clement バレンタイン クレメン via llvm-branch-commits
@@ -0,0 +1,73 @@ +//===-- include/flang/Runtime/descriptor-consts.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] [flang] [Flang] Split runtime headers in preparation for cross-compilation. NFC. (PR #112188)

2024-10-16 Thread Michael Kruse via llvm-branch-commits
@@ -42,77 +43,14 @@ struct ArrayConstructorVector { private: unsigned char useValueLengthParameters_ : 1; }; +static_assert(sizeof(Fortran::runtime::ArrayConstructorVector) <= +MaxArrayConstructorVectorSizeInBytes, +"ABI requires sizeof(ArrayConstructorVector) to

[llvm-branch-commits] [flang] [Flang] Split runtime headers in preparation for cross-compilation. NFC. (PR #112188)

2024-10-16 Thread Michael Kruse via llvm-branch-commits
https://github.com/Meinersbur updated https://github.com/llvm/llvm-project/pull/112188 >From 42e5abb5b291e78aeb152d7c636c75fe4d90492a Mon Sep 17 00:00:00 2001 From: Michael Kruse Date: Mon, 14 Oct 2024 13:55:16 +0200 Subject: [PATCH 1/3] Split headers in preparation for cross-compilation. NFC.

[llvm-branch-commits] [flang] [Flang] Split runtime headers in preparation for cross-compilation. NFC. (PR #112188)

2024-10-16 Thread Peter Klausler via llvm-branch-commits
klausler wrote: On what targets would the size or member byte offsets in a descriptor differ? https://github.com/llvm/llvm-project/pull/112188 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailma

[llvm-branch-commits] [flang] [Flang] Split runtime headers in preparation for cross-compilation. NFC. (PR #112188)

2024-10-16 Thread via llvm-branch-commits
@@ -42,77 +43,14 @@ struct ArrayConstructorVector { private: unsigned char useValueLengthParameters_ : 1; }; +static_assert(sizeof(Fortran::runtime::ArrayConstructorVector) <= +MaxArrayConstructorVectorSizeInBytes, +"ABI requires sizeof(ArrayConstructorVector) to

[llvm-branch-commits] [flang] [Flang] Split runtime headers in preparation for cross-compilation. NFC. (PR #112188)

2024-10-16 Thread via llvm-branch-commits
@@ -29,8 +29,8 @@ mlir::Value fir::runtime::genInitArrayConstructorVector( // the target. The "cookieSize" argument is used to validate this wild // assumption until runtime interfaces are improved. jeanPerier wrote: It seems like you can get rid of the coo

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

2024-10-16 Thread Ilya Biryukov via llvm-branch-commits
ilya-biryukov wrote: There were some merge conflicts with main, I've managed to resolve them to this: https://github.com/ilya-biryukov/llvm-project/tree/pr83237_merged I am now trying to bootstrap the compiler with that version, but it would be useful if someone rebased this PR against main, i

[llvm-branch-commits] [llvm] release/19.x: [NFC] fix build failure (#100993) (PR #112551)

2024-10-16 Thread Michał Górny via llvm-branch-commits
mgorny wrote: CC @chenzheng1030 @aaronpuchert https://github.com/llvm/llvm-project/pull/112551 ___ 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: [NFC] fix build failure (#100993) (PR #112551)

2024-10-16 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm commented: I'm assuming this isn't an ABI break in any cases where this builds? https://github.com/llvm/llvm-project/pull/112551 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/c

[llvm-branch-commits] [llvm] release/19.x: [NFC] fix build failure (#100993) (PR #112551)

2024-10-16 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-llvm-analysis Author: None (llvmbot) Changes Backport 40b4fd7a3e81d32b29364a1b15337bcf817659c0 Requested by: @mgorny --- Full diff: https://github.com/llvm/llvm-project/pull/112551.diff 1 Files Affected: - (modified) llvm/lib/Analysis/ConstantFoldin

[llvm-branch-commits] [llvm] release/19.x: [NFC] fix build failure (#100993) (PR #112551)

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

[llvm-branch-commits] [llvm] release/19.x: [NFC] fix build failure (#100993) (PR #112551)

2024-10-16 Thread via llvm-branch-commits
https://github.com/llvmbot milestoned https://github.com/llvm/llvm-project/pull/112551 ___ 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: [NFC] fix build failure (#100993) (PR #112551)

2024-10-16 Thread via llvm-branch-commits
https://github.com/llvmbot created https://github.com/llvm/llvm-project/pull/112551 Backport 40b4fd7a3e81d32b29364a1b15337bcf817659c0 Requested by: @mgorny >From f20d1951e2c1d7636f8d8806354cd2a26fd829c4 Mon Sep 17 00:00:00 2001 From: Chen Zheng Date: Tue, 30 Jul 2024 09:02:07 +0800 Subject: [

[llvm-branch-commits] [clang] clang/HIP: Remove REQUIRES libgcc from a test (PR #112412)

2024-10-16 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm updated https://github.com/llvm/llvm-project/pull/112412 >From 6287e8fa3c0bf3589bd270ceee3a44c1b64255a1 Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Tue, 15 Oct 2024 22:02:18 +0400 Subject: [PATCH] clang/HIP: Remove REQUIRES libgcc from a test --- clang/test/D

[llvm-branch-commits] [clang] clang/HIP: Remove REQUIRES windows from a test (PR #112411)

2024-10-16 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm updated https://github.com/llvm/llvm-project/pull/112411 >From ecb52547f59aae09e36f7f80a3171d7c1a2de16f Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Tue, 15 Oct 2024 22:01:28 +0400 Subject: [PATCH 1/3] clang/HIP: Remove REQUIRES windows from a test --- clang/t

[llvm-branch-commits] [lld] Backport "[ELF] Make shouldAddProvideSym return values consistent when demoted to Undefined" (PR #112136)

2024-10-16 Thread via llvm-branch-commits
https://github.com/DianQK closed https://github.com/llvm/llvm-project/pull/112136 ___ 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] Backport "[ELF] Make shouldAddProvideSym return values consistent when demoted to Undefined" (PR #112136)

2024-10-16 Thread via llvm-branch-commits
https://github.com/DianQK demilestoned https://github.com/llvm/llvm-project/pull/112136 ___ 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/HIP: Remove REQUIRES windows from a test (PR #112411)

2024-10-16 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm updated https://github.com/llvm/llvm-project/pull/112411 >From ecb52547f59aae09e36f7f80a3171d7c1a2de16f Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Tue, 15 Oct 2024 22:01:28 +0400 Subject: [PATCH 1/2] clang/HIP: Remove REQUIRES windows from a test --- clang/t

[llvm-branch-commits] [clang] clang/HIP: Remove REQUIRES libgcc from a test (PR #112412)

2024-10-16 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm updated https://github.com/llvm/llvm-project/pull/112412 >From 5c35d9bb7ff982d4e0f99fd77550e8d615ec5d1f Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Tue, 15 Oct 2024 22:02:18 +0400 Subject: [PATCH] clang/HIP: Remove REQUIRES libgcc from a test --- clang/test/D

[llvm-branch-commits] [flang] [llvm] [Flang] Move runtime library files to clang-rt. NFC (PR #110298)

2024-10-16 Thread Michael Kruse via llvm-branch-commits
https://github.com/Meinersbur edited https://github.com/llvm/llvm-project/pull/110298 ___ 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] Split runtime headers in preparation for cross-compilation. NFC. (PR #112188)

2024-10-16 Thread Michael Kruse via llvm-branch-commits
https://github.com/Meinersbur edited https://github.com/llvm/llvm-project/pull/112188 ___ 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] Split runtime headers in preparation for cross-compilation. NFC. (PR #112188)

2024-10-16 Thread Michael Kruse via llvm-branch-commits
@@ -0,0 +1,73 @@ +//===-- include/flang/Runtime/descriptor-consts.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] release/19.x: [Inliner] Don't propagate access attr to byval params (#112256) (PR #112365)

2024-10-16 Thread Nikita Popov via llvm-branch-commits
https://github.com/nikic approved this pull request. LGTM https://github.com/llvm/llvm-project/pull/112365 ___ 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] de3695a - Revert "[MLIR][TableGen] Use const pointers for various `Init` objects (#112316)"

2024-10-16 Thread via llvm-branch-commits
Author: Mehdi Amini Date: 2024-10-16T11:08:55+02:00 New Revision: de3695a393727344232af81765aaeb7f9dd33e18 URL: https://github.com/llvm/llvm-project/commit/de3695a393727344232af81765aaeb7f9dd33e18 DIFF: https://github.com/llvm/llvm-project/commit/de3695a393727344232af81765aaeb7f9dd33e18.diff L

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

2024-10-16 Thread Ilya Biryukov via llvm-branch-commits
ilya-biryukov wrote: Sorry for loosing track of this, we'll run another round of tests and get back to you. https://github.com/llvm/llvm-project/pull/83237 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/

[llvm-branch-commits] [llvm] [AMDGPU][NewPM] Fill out addILPOpts. (PR #108514)

2024-10-16 Thread Christudasan Devadasan via llvm-branch-commits
cdevadas wrote: ### Merge activity * **Oct 16, 3:38 AM EDT**: A user started a stack merge that includes this pull request via [Graphite](https://app.graphite.dev/github/pr/llvm/llvm-project/108514). https://github.com/llvm/llvm-project/pull/108514 ___

[llvm-branch-commits] [llvm] [CodeGen][NewPM] Port machine trace metrics analysis to new pass manager. (PR #108507)

2024-10-16 Thread Christudasan Devadasan via llvm-branch-commits
cdevadas wrote: ### Merge activity * **Oct 16, 3:38 AM EDT**: A user started a stack merge that includes this pull request via [Graphite](https://app.graphite.dev/github/pr/llvm/llvm-project/108507). https://github.com/llvm/llvm-project/pull/108507 ___

[llvm-branch-commits] [llvm] [CodeGen][NewPM] Port EarlyIfConversion pass to NPM. (PR #108508)

2024-10-16 Thread Christudasan Devadasan via llvm-branch-commits
cdevadas wrote: ### Merge activity * **Oct 16, 3:38 AM EDT**: A user started a stack merge that includes this pull request via [Graphite](https://app.graphite.dev/github/pr/llvm/llvm-project/108508). https://github.com/llvm/llvm-project/pull/108508 ___