[llvm-branch-commits] [llvm] [RISCV][CFI] add function epilogue cfi information (PR #110810)

2024-10-02 Thread via llvm-branch-commits
dlav-sc wrote: @topperc @kito-cheng FYI https://github.com/llvm/llvm-project/pull/110810 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [RISCV] fix RISCVPushPopOptimizer pass (PR #110813)

2024-10-02 Thread via llvm-branch-commits
dlav-sc wrote: @topperc @michaelmaitland FYI https://github.com/llvm/llvm-project/pull/110813 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] DAG: Preserve more flags when expanding gep (PR #110815)

2024-10-02 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-llvm-selectiondag Author: Matt Arsenault (arsenm) Changes This allows selecting the addressing mode for stack instructions in cases where we need to prove the sign bit is zero. --- Full diff: https://github.com/llvm/llvm-project/pull/110815.diff 3 Fil

[llvm-branch-commits] [llvm] [RISCV] fix RISCVPushPopOptimizer pass (PR #110813)

2024-10-02 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-risc-v Author: None (dlav-sc) Changes RISCVPushPopOptimizer pass didn't suggest that CFI instructions can be inserted between cm.pop and ret and couldn't apply optimization in these cases. The patch fix it and allows the pass to remove CFI inst

[llvm-branch-commits] [llvm] FastISel: Fix incorrectly using getPointerTy (#110465) (PR #110827)

2024-10-02 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-llvm-selectiondag Author: Matt Arsenault (arsenm) Changes This was using the default address space instead of the correct one. Fixes #56055 Keep old method around for ABI compatibility on the release branch. (cherry picked from commit 81ba95cefe1b5a12

[llvm-branch-commits] [llvm] FastISel: Fix incorrectly using getPointerTy (#110465) (PR #110827)

2024-10-02 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-x86 Author: Matt Arsenault (arsenm) Changes This was using the default address space instead of the correct one. Fixes #56055 Keep old method around for ABI compatibility on the release branch. (cherry picked from commit 81ba95cefe1b5a12f0a7d8

[llvm-branch-commits] [llvm] 133d368 - Revert "[Utils] Add new --update-tests flag to llvm-lit (#108425)"

2024-10-01 Thread via llvm-branch-commits
Author: Henrik G. Olsson Date: 2024-10-01T17:14:31-07:00 New Revision: 133d368b16d11e44bc3fca92a042cf5ad0ce8dd1 URL: https://github.com/llvm/llvm-project/commit/133d368b16d11e44bc3fca92a042cf5ad0ce8dd1 DIFF: https://github.com/llvm/llvm-project/commit/133d368b16d11e44bc3fca92a042cf5ad0ce8dd1.di

[llvm-branch-commits] [libcxx] Workaround for build error after #108999 (PR #110783)

2024-10-01 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-libcxx Author: Vitaly Buka (vitalybuka) Changes ``` FAILED: include/c++/v1/libcxx.imp ./libcxx_build_msan/include/c++/v1/libcxx.imp cd ./libcxx_build_msan/libcxx/include && /usr/bin/python3 ./llvm-project/libcxx/utils/generate_iwyu_mapping.py -o ./libc

[llvm-branch-commits] [libcxx] Workaround for build error after #108999 (PR #110783)

2024-10-01 Thread via llvm-branch-commits
github-actions[bot] wrote: :warning: Python code formatter, darker found issues in your code. :warning: You can test this locally with the following command: ``bash darker --check --diff -r af5ab7ff2c86ff2c3d02cbb3591b22d7b968d98b...c2bcf7a16daa701f72e5007ebda5a08d59f0c346 libcx

[llvm-branch-commits] [llvm] release/19.x: [x86] combineMUL - when looking for a vector multiply by splat constant, ensure we're only accepting ConstantInt splat scalars. (PR #111246)

2024-10-05 Thread via llvm-branch-commits
https://github.com/llvmbot created https://github.com/llvm/llvm-project/pull/111246 Backport 9459d729d22b7bfedad9d3a4237162077c6984a4 Requested by: @RKSimon >From d3a82b2fa5d60c3aad20767bb30a76fdbef4c3f7 Mon Sep 17 00:00:00 2001 From: Simon Pilgrim Date: Fri, 4 Oct 2024 18:09:53 +0100 Subject

[llvm-branch-commits] [llvm] release/19.x: [x86] combineMUL - when looking for a vector multiply by splat constant, ensure we're only accepting ConstantInt splat scalars. (PR #111246)

2024-10-05 Thread via llvm-branch-commits
https://github.com/llvmbot milestoned https://github.com/llvm/llvm-project/pull/111246 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] release/19.x: [x86] combineMUL - when looking for a vector multiply by splat constant, ensure we're only accepting ConstantInt splat scalars. (PR #111246)

2024-10-05 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-x86 Author: None (llvmbot) Changes Backport 9459d729d22b7bfedad9d3a4237162077c6984a4 Requested by: @RKSimon --- Full diff: https://github.com/llvm/llvm-project/pull/111246.diff 2 Files Affected: - (modified) llvm/lib/Target/X86/X86ISelLoweri

[llvm-branch-commits] [clang] [Clang] Fix 'counted_by' for nested struct pointers (#110497) (PR #111445)

2024-10-07 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-clang @llvm/pr-subscribers-clang-codegen Author: Bill Wendling (bwendling) Changes /cherry-pick --- Full diff: https://github.com/llvm/llvm-project/pull/111445.diff 3 Files Affected: - (modified) clang/lib/CodeGen/CGExpr.cpp (+7-9) - (added) clang/t

[llvm-branch-commits] [clang] [Clang] Fix 'counted_by' for nested struct pointers (#110497) (PR #111445)

2024-10-07 Thread via llvm-branch-commits
github-actions[bot] wrote: ⚠️ We detected that you are using a GitHub private e-mail address to contribute to the repo. Please turn off [Keep my email addresses private](https://github.com/settings/emails) setting in your account. See [LLVM Discourse](https://discourse.llvm.org/t/hidden-email

[llvm-branch-commits] [clang] [Clang] Fix 'counted_by' for nested struct pointers (#110497) (PR #111445)

2024-10-07 Thread via llvm-branch-commits
llvmbot wrote: Failed to create pull request for issue111445 https://github.com/llvm/llvm-project/actions/runs/11224536586 https://github.com/llvm/llvm-project/pull/111445 ___ llvm-branch-commits mailing list [email protected] https:/

[llvm-branch-commits] [clang] [Clang] Fix 'counted_by' for nested struct pointers (#110497) (PR #111445)

2024-10-07 Thread via llvm-branch-commits
llvmbot wrote: Failed to create pull request for issue111445 https://github.com/llvm/llvm-project/actions/runs/11224536620 https://github.com/llvm/llvm-project/pull/111445 ___ llvm-branch-commits mailing list [email protected] https:/

[llvm-branch-commits] [clang] [clang-format] Handle template closer followed by empty paretheses (PR #111245)

2024-10-07 Thread via llvm-branch-commits
https://github.com/mydeveloperday approved this pull request. https://github.com/llvm/llvm-project/pull/111245 ___ llvm-branch-commits mailing list [email protected] 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] [llvm] [StructuralHash] Support Differences (PR #112638)

2024-10-18 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-llvm-ir Author: Kyungwoo Lee (kyulee-com) Changes This computes 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 whi

[llvm-branch-commits] [lld] [PAC][lld] Do not emit warnings for `-z pac-plt` with valid PAuth core info (PR #112959)

2024-10-18 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-lld Author: Daniil Kovalev (kovdan01) Changes When PAuth core info is present and (platform,version) is not (0,0), treat input files as pac-enabled and do not emit a warning with `-z pac-plt` passed. --- Full diff: https://github.com/llvm/llvm-project/p

[llvm-branch-commits] [clang] release/19.x: [clang] Make LazyOffsetPtr more portable (#112927) (PR #113052)

2024-10-19 Thread via llvm-branch-commits
https://github.com/llvmbot created https://github.com/llvm/llvm-project/pull/113052 Backport 76196998e25b98d81abc437708622261810782ca Requested by: @mgorny >From f062f8c06bb237ee79c098414eafe5eb075aa9c8 Mon Sep 17 00:00:00 2001 From: Jessica Clarke Date: Fri, 18 Oct 2024 21:49:23 +0100 Subjec

[llvm-branch-commits] [clang] release/19.x: [clang] Make LazyOffsetPtr more portable (#112927) (PR #113052)

2024-10-19 Thread via llvm-branch-commits
https://github.com/llvmbot milestoned https://github.com/llvm/llvm-project/pull/113052 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang] release/19.x: [clang] Make LazyOffsetPtr more portable (#112927) (PR #113052)

2024-10-19 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: None (llvmbot) Changes Backport 76196998e25b98d81abc437708622261810782ca Requested by: @mgorny --- Full diff: https://github.com/llvm/llvm-project/pull/113052.diff 1 Files Affected: - (modified) clang/include/clang/AST/ExternalASTSourc

[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] [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] [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 [email protected] 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 [email protected] 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] [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] [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 [email protected] 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 [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

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

2024-10-18 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 b6275868f9955e64624e67921a24b02c2d5c67fe 0e8d8a451a59eb008800d039692fc17b4f903300 --e

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

2024-10-18 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-mc Author: Amir Ayupov (aaupov) Changes Add `IsMMapped` flag to `buildGUID2FuncDescMap` controlling whether to allocate a string in `FuncNameAllocator` or use StringRef directly. This saves ~0.7 GiB peak RSS in perf2bolt processing a medium sized binary

[llvm-branch-commits] [llvm] AMDGPU: Mark grid size loads with range metadata (PR #113019)

2024-10-18 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-amdgpu Author: Matt Arsenault (arsenm) Changes Only handles the v5 case. --- Full diff: https://github.com/llvm/llvm-project/pull/113019.diff 3 Files Affected: - (modified) llvm/lib/Target/AMDGPU/AMDGPULowerKernelAttributes.cpp (+29-4) - (mo

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

2024-10-18 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-amdgpu Author: Petar Avramovic (petar-avramovic) Changes Add IDs for bit width that cover multiple LLTs: B32 B64 etc. "Predicate" wrapper class for bool predicate functions used to write pretty rules. Predicates can be combined using &&, || and !

[llvm-branch-commits] [clang] release/19.x: [clang-format] Handle template opener/closer in braced list (#112494) (PR #112815)

2024-10-18 Thread via llvm-branch-commits
https://github.com/mydeveloperday approved this pull request. https://github.com/llvm/llvm-project/pull/112815 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [lld] [PAC][lld] Do not emit warnings for `-z pac-plt` with valid PAuth core info (PR #112959)

2024-10-18 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-lld-elf Author: Daniil Kovalev (kovdan01) Changes When PAuth core info is present and (platform,version) is not (0,0), treat input files as pac-enabled and do not emit a warning with `-z pac-plt` passed. --- Full diff: https://github.com/llvm/llvm-proje

[llvm-branch-commits] [flang] [flang][cuda] Translate cuf.register_kernel and cuf.register_module (PR #112972)

2024-10-18 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-flang-fir-hlfir @llvm/pr-subscribers-flang-runtime Author: Valentin Clement (バレンタイン クレメン) (clementval) Changes Add LLVM IR Translation for `cuf.register_module` and `cuf.register_kernel`. These are lowered to function call to the CUF runtime entries.

[llvm-branch-commits] [libc] [libc][math][c23] Add log10f16 C23 math function (PR #106091)

2024-10-18 Thread via llvm-branch-commits
https://github.com/overmighty updated https://github.com/llvm/llvm-project/pull/106091 >From ad3e07db169e59bc44f9759ab0b484c2abf7a8a4 Mon Sep 17 00:00:00 2001 From: OverMighty Date: Mon, 26 Aug 2024 17:23:01 +0200 Subject: [PATCH 1/3] [libc][math][c23] Add log10f16 C23 math function Part of #9

[llvm-branch-commits] [libc] [libc][math][c23] Add sqrtf16 C23 math function (PR #112406)

2024-10-18 Thread via llvm-branch-commits
https://github.com/overmighty updated https://github.com/llvm/llvm-project/pull/112406 >From 38a132acaaa5f3c94234cea4b59c1dfdc0a49433 Mon Sep 17 00:00:00 2001 From: OverMighty Date: Mon, 26 Aug 2024 18:43:12 +0200 Subject: [PATCH] [libc][math][c23] Add sqrtf16 C23 math function Part of #95250.

[llvm-branch-commits] [mlir] [mlir][Transforms] Merge 1:1 and 1:N type converters (PR #113032)

2024-10-19 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-mlir-core Author: Matthias Springer (matthias-springer) Changes The 1:N type converter derived from the 1:1 type converter and extends it with 1:N target materializations. This commit merges the two type converters and stores 1:N target materialization

[llvm-branch-commits] [mlir] [mlir][Transforms] Merge 1:1 and 1:N type converters (PR #113032)

2024-10-19 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-mlir Author: Matthias Springer (matthias-springer) Changes The 1:N type converter derived from the 1:1 type converter and extends it with 1:N target materializations. This commit merges the two type converters and stores 1:N target materializations in

[llvm-branch-commits] [mlir] [mlir][Transforms] Merge 1:1 and 1:N type converters (PR #113032)

2024-10-19 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-mlir-sparse Author: Matthias Springer (matthias-springer) Changes The 1:N type converter derived from the 1:1 type converter and extends it with 1:N target materializations. This commit merges the two type converters and stores 1:N target materializati

[llvm-branch-commits] [clang] clang/AMDGPU: Emit grid size builtins with range metadata (PR #113038)

2024-10-19 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-amdgpu Author: Matt Arsenault (arsenm) Changes These cannot be 0. --- Full diff: https://github.com/llvm/llvm-project/pull/113038.diff 2 Files Affected: - (modified) clang/lib/CodeGen/CGBuiltin.cpp (+6) - (modified) clang/test/CodeGenOpenCL/

[llvm-branch-commits] [llvm] release/19.x: [loongarch][DAG][FREEZE] Fix crash when FREEZE a half(f16) type on loongarch (#107791) (PR #109093)

2024-10-19 Thread via llvm-branch-commits
heiher wrote: Update: https://github.com/llvm/llvm-project/pull/109368#issuecomment-2423879356 I suggest continuing this PR to ensure that fp16 support is functional on the release/19.x. https://github.com/llvm/llvm-project/pull/109093 ___ llvm-branc

[llvm-branch-commits] [llvm] release/19.x: [loongarch][DAG][FREEZE] Fix crash when FREEZE a half(f16) type on loongarch (#107791) (PR #109093)

2024-10-19 Thread via llvm-branch-commits
https://github.com/heiher reopened https://github.com/llvm/llvm-project/pull/109093 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] release/19.x: [loongarch][DAG][FREEZE] Fix crash when FREEZE a half(f16) type on loongarch (#107791) (PR #109093)

2024-10-19 Thread via llvm-branch-commits
https://github.com/heiher updated https://github.com/llvm/llvm-project/pull/109093 >From bd494f3735df409fbe7360e98ff4d5cb55d4bf98 Mon Sep 17 00:00:00 2001 From: YANG Xudong Date: Fri, 13 Sep 2024 08:49:54 +0800 Subject: [PATCH] [loongarch][DAG][FREEZE] Fix crash when FREEZE a half(f16) type on

[llvm-branch-commits] [clang] release/19.x: [clang] Make LazyOffsetPtr more portable (#112927) (PR #113052)

2024-10-19 Thread via llvm-branch-commits
llvmbot wrote: @zygoloid What do you think about merging this PR to the release branch? https://github.com/llvm/llvm-project/pull/113052 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/list

[llvm-branch-commits] [mlir] 99a7986 - Revert "[mlir][mlir-spirv-cpu-runner] Move MLIR pass pipeline to mlir-opt (#1…"

2024-10-21 Thread via llvm-branch-commits
Author: Jakub Kuderski Date: 2024-10-21T08:09:12-07:00 New Revision: 99a7986cc237ab226f234bba025d151cfd4d8638 URL: https://github.com/llvm/llvm-project/commit/99a7986cc237ab226f234bba025d151cfd4d8638 DIFF: https://github.com/llvm/llvm-project/commit/99a7986cc237ab226f234bba025d151cfd4d8638.diff

[llvm-branch-commits] [clang] [Serialization] Handle uninitialized type constraints (PR #113182)

2024-10-21 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-clang @llvm/pr-subscribers-clang-modules Author: Florian Albrechtskirchinger (falbrechtskirchinger) Changes The ASTWriter currently assumes template type constraints to be initialized ((bool)getTypeConstraint() == hasTypeConstraint()). Issues #99036 and

[llvm-branch-commits] [clang] [Serialization] Handle uninitialized type constraints (PR #113182)

2024-10-21 Thread via llvm-branch-commits
https://github.com/cor3ntin approved this pull request. LGTM https://github.com/llvm/llvm-project/pull/113182 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] 9823247 - Revert "Fix CMake dependencies on mlir-linalg-ods-yaml-gen (#112224)"

2024-10-21 Thread via llvm-branch-commits
Author: Mehdi Amini Date: 2024-10-21T15:27:57-07:00 New Revision: 98232477441d0e2f468df9390bf94460bd797827 URL: https://github.com/llvm/llvm-project/commit/98232477441d0e2f468df9390bf94460bd797827 DIFF: https://github.com/llvm/llvm-project/commit/98232477441d0e2f468df9390bf94460bd797827.diff L

[llvm-branch-commits] [clang] [Coverage][Single] Enable Branch coverage for loop statements (PR #113109)

2024-10-20 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-clang-codegen Author: NAKAMURA Takumi (chapuni) Changes --- Patch is 29.51 KiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/llvm-project/pull/113109.diff 5 Files Affected: - (modified) clang/lib/CodeGen/CGStmt.cpp (+25-57)

[llvm-branch-commits] [clang] [Coverage][Single] Enable Branch coverage for loop statements (PR #113109)

2024-10-20 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: NAKAMURA Takumi (chapuni) Changes --- Patch is 29.51 KiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/llvm-project/pull/113109.diff 5 Files Affected: - (modified) clang/lib/CodeGen/CGStmt.cpp (+25-57) - (modi

[llvm-branch-commits] [clang] [Coverage][Single] Enable Branch coverage for CondOp (PR #113110)

2024-10-20 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: NAKAMURA Takumi (chapuni) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/113110.diff 8 Files Affected: - (modified) clang/lib/CodeGen/CGExpr.cpp (+3-3) - (modified) clang/lib/CodeGen/CGExprAgg.cpp (+2-12) - (modifie

[llvm-branch-commits] [clang] [Coverage][Single] Enable Branch coverage for IfStmt (PR #113111)

2024-10-20 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-clang-codegen Author: NAKAMURA Takumi (chapuni) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/113111.diff 4 Files Affected: - (modified) clang/lib/CodeGen/CGStmt.cpp (+13-18) - (modified) clang/lib/CodeGen/CodeGenPGO.cpp (-12) -

[llvm-branch-commits] [clang] [Coverage][Single] Enable Branch coverage for SwitchStmt (PR #113112)

2024-10-20 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-clang-codegen @llvm/pr-subscribers-clang Author: NAKAMURA Takumi (chapuni) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/113112.diff 3 Files Affected: - (modified) clang/lib/CodeGen/CGStmt.cpp (+12) - (modified) clang/lib/CodeGen

[llvm-branch-commits] [flang] [Flang][OMP] Replace SUM intrinsic call with SUM operations (PR #113082)

2024-10-20 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-flang-openmp Author: Thirumalai Shaktivel (Thirumalai-Shaktivel) Changes Continuation from https://github.com/llvm/llvm-project/pull/104748 > From Documentation: \ Evaluation of transformational array intrinsic functions may be freely subdivided into any

[llvm-branch-commits] [clang] [Coverage][Single] Enable Branch coverage for `BinLAnd` and `BinLOr` (PR #113113)

2024-10-20 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-clang-codegen Author: NAKAMURA Takumi (chapuni) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/113113.diff 4 Files Affected: - (modified) clang/lib/CodeGen/CGExprScalar.cpp (+68-15) - (modified) clang/lib/CodeGen/CGStmt.cpp (-4)

[llvm-branch-commits] [clang] [Coverage][Single] Enable Branch coverage for IfStmt (PR #113111)

2024-10-20 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: NAKAMURA Takumi (chapuni) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/113111.diff 4 Files Affected: - (modified) clang/lib/CodeGen/CGStmt.cpp (+13-18) - (modified) clang/lib/CodeGen/CodeGenPGO.cpp (-12) - (modifi

[llvm-branch-commits] [llvm] release/19.x: [SLP]Check that operand of abs does not overflow before making it part of minbitwidth transformation (PR #113146)

2024-10-21 Thread via llvm-branch-commits
https://github.com/llvmbot milestoned https://github.com/llvm/llvm-project/pull/113146 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] release/19.x: [SLP]Check that operand of abs does not overflow before making it part of minbitwidth transformation (PR #113146)

2024-10-21 Thread via llvm-branch-commits
https://github.com/llvmbot created https://github.com/llvm/llvm-project/pull/113146 Backport 825f9cb1b31aa91d23eba803003897490de74a20 709abacdc350d63c61888607edb28ce272daa0a0 Requested by: @alexey-bataev >From e2f6ef4a11d8e172d3b91f350d677c25111d2ff6 Mon Sep 17 00:00:00 2001 From: Alexey Bata

[llvm-branch-commits] [llvm] release/19.x: [SLP]Check that operand of abs does not overflow before making it part of minbitwidth transformation (PR #113146)

2024-10-21 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-llvm-transforms Author: None (llvmbot) Changes Backport 825f9cb1b31aa91d23eba803003897490de74a20 709abacdc350d63c61888607edb28ce272daa0a0 Requested by: @alexey-bataev --- Full diff: https://github.com/llvm/llvm-project/pull/113146.diff 2 Files Affec

[llvm-branch-commits] [clang] [PAC][clang] Add new features to pauthtest ABI (PR #113150)

2024-10-21 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Daniil Kovalev (kovdan01) Changes Enable init/fini address discrimination, type info vtable pointer discrimination and AArch64 jump table hardening as part of pauthtest ABI. --- Full diff: https://github.com/llvm/llvm-project/pull/113150.d

[llvm-branch-commits] [clang] [PAC][clang] Add new features to pauthtest ABI (PR #113150)

2024-10-21 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-clang-driver Author: Daniil Kovalev (kovdan01) Changes Enable init/fini address discrimination, type info vtable pointer discrimination and AArch64 jump table hardening as part of pauthtest ABI. --- Full diff: https://github.com/llvm/llvm-project/pull/1

[llvm-branch-commits] [clang] [PAC][clang] Handle pauthtest environment and ABI in Linux-specific code (PR #113151)

2024-10-21 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-clang-codegen @llvm/pr-subscribers-backend-aarch64 Author: Daniil Kovalev (kovdan01) Changes Since pauthtest is a Linux-specific ABI, it should not be handled in common driver code. --- Patch is 20.23 KiB, truncated to 20.00 KiB below, full version: h

[llvm-branch-commits] [clang] [PAC][clang] Handle pauthtest environment and ABI in Linux-specific code (PR #113151)

2024-10-21 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-clang-driver Author: Daniil Kovalev (kovdan01) Changes Since pauthtest is a Linux-specific ABI, it should not be handled in common driver code. --- Patch is 20.23 KiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/llvm-project/pu

[llvm-branch-commits] [clang] [PAC][Driver] Support ptrauth flags only on AArch64 Linux and ARM64 Darwin (PR #113152)

2024-10-21 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-clang-driver Author: Daniil Kovalev (kovdan01) Changes Most ptrauth flags are ABI-affecting, so allow them only for Linux and Darwin OS which explicitly support pointer authentication. Leave `-faarch64-jump-table-hardening` available for all AArch64 targ

[llvm-branch-commits] [msan] Reduces overhead of #TODO, by 10% (PR #113201)

2024-10-21 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-compiler-rt-sanitizer Author: Vitaly Buka (vitalybuka) Changes --- Patch is 59.63 KiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/llvm-project/pull/113201.diff 3 Files Affected: - (modified) llvm/lib/Transforms/Instrumenta

[llvm-branch-commits] [msan] Reduces overhead of #TODO, by 10% (PR #113201)

2024-10-21 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-llvm-transforms Author: Vitaly Buka (vitalybuka) Changes --- Patch is 59.63 KiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/llvm-project/pull/113201.diff 3 Files Affected: - (modified) llvm/lib/Transforms/Instrumentation/M

[llvm-branch-commits] [msan] Switch to -msan-handle-icmp-exact my default (PR #113200)

2024-10-21 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-llvm-transforms Author: Vitaly Buka (vitalybuka) Changes Fixes #111212. This grows .text by 5.3% on CTMark, (or 2.6% large internal binary) Perf regressed by 1.6%. We will try to improve in follow up patches. It worth to pay some performance regression

[llvm-branch-commits] [clang] [PAC][Driver] Support ptrauth flags only on AArch64 Linux and ARM64 Darwin (PR #113152)

2024-10-21 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Daniil Kovalev (kovdan01) Changes Most ptrauth flags are ABI-affecting, so allow them only for Linux and Darwin OS which explicitly support pointer authentication. Leave `-faarch64-jump-table-hardening` available for all AArch64 targets sin

[llvm-branch-commits] [clang] [Serialization] Handle uninitialized type constraints (PR #113182)

2024-10-21 Thread via llvm-branch-commits
github-actions[bot] wrote: Thank you for submitting a Pull Request (PR) to the LLVM Project! This PR will be automatically labeled and the relevant teams will be notified. If you wish to, you can add reviewers by using the "Reviewers" section on this page. If this is not working for you, it

[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] [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 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] [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] 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 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] [llvm] 007ad83 - Revert "[llvm][ARM]Add widen global arrays pass (#107120)"

2024-10-17 Thread via llvm-branch-commits
Author: Nashe Mncube Date: 2024-10-17T13:35:23+01:00 New Revision: 007ad8343672de5161772c0873f87d00759fd82c URL: https://github.com/llvm/llvm-project/commit/007ad8343672de5161772c0873f87d00759fd82c DIFF: https://github.com/llvm/llvm-project/commit/007ad8343672de5161772c0873f87d00759fd82c.diff

[llvm-branch-commits] [clang] [clang] Reject if constexpr in C (#112685) (PR #112697)

2024-10-17 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Mariya Podchishchaeva (Fznamznon) Changes Fixes https://github.com/llvm/llvm-project/issues/112587 --- Full diff: https://github.com/llvm/llvm-project/pull/112697.diff 2 Files Affected: - (modified) clang/lib/Parse/ParseStmt.cpp (+7-4)

[llvm-branch-commits] [libc] [libc][math][c23] Add log2f16 C23 math function (PR #106084)

2024-10-17 Thread via llvm-branch-commits
https://github.com/overmighty updated https://github.com/llvm/llvm-project/pull/106084 >From 6d2abb503321d6564ce6333c366c2ab3d82b17a5 Mon Sep 17 00:00:00 2001 From: OverMighty Date: Mon, 26 Aug 2024 16:36:19 +0200 Subject: [PATCH 1/3] [libc][math][c23] Add log2f16 C23 math function Part of #95

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

2024-10-17 Thread via llvm-branch-commits
@@ -1629,6 +1629,10 @@ PassBuilder::buildFatLTODefaultPipeline(OptimizationLevel Level, bool ThinLTO, MPM.addPass(buildLTOPreLinkDefaultPipeline(Level)); MPM.addPass(EmbedBitcodePass(ThinLTO, EmitSummary)); + // If we're doing FatLTO w/ CFI enabled, we don't want the t

[llvm-branch-commits] [libc] [libc][math][c23] Add log10f16 C23 math function (PR #106091)

2024-10-17 Thread via llvm-branch-commits
https://github.com/overmighty updated https://github.com/llvm/llvm-project/pull/106091 >From d4ff8e37305f98ebb140bfd5d6968c73dc10a1c4 Mon Sep 17 00:00:00 2001 From: OverMighty Date: Mon, 26 Aug 2024 17:23:01 +0200 Subject: [PATCH 1/2] [libc][math][c23] Add log10f16 C23 math function Part of #9

[llvm-branch-commits] [libc] [libc][math][c23] Add sqrtf16 C23 math function (PR #112406)

2024-10-17 Thread via llvm-branch-commits
https://github.com/overmighty updated https://github.com/llvm/llvm-project/pull/112406 >From 52c1c1bad3cd90d17b90082063bdad49fb0b5aa9 Mon Sep 17 00:00:00 2001 From: OverMighty Date: Mon, 26 Aug 2024 18:43:12 +0200 Subject: [PATCH] [libc][math][c23] Add sqrtf16 C23 math function Part of #95250.

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

2024-10-17 Thread via llvm-branch-commits
@@ -1629,6 +1629,10 @@ PassBuilder::buildFatLTODefaultPipeline(OptimizationLevel Level, bool ThinLTO, MPM.addPass(buildLTOPreLinkDefaultPipeline(Level)); MPM.addPass(EmbedBitcodePass(ThinLTO, EmitSummary)); + // If we're doing FatLTO w/ CFI enabled, we don't want the t

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

2024-10-17 Thread via llvm-branch-commits
@@ -1629,6 +1629,10 @@ PassBuilder::buildFatLTODefaultPipeline(OptimizationLevel Level, bool ThinLTO, MPM.addPass(buildLTOPreLinkDefaultPipeline(Level)); MPM.addPass(EmbedBitcodePass(ThinLTO, EmitSummary)); + // If we're doing FatLTO w/ CFI enabled, we don't want the t

[llvm-branch-commits] [libc] [libc][math][c23] Add sqrtf16 C23 math function (PR #112406)

2024-10-17 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-libc Author: OverMighty (overmighty) Changes Part of #95250. --- Full diff: https://github.com/llvm/llvm-project/pull/112406.diff 14 Files Affected: - (modified) libc/config/gpu/entrypoints.txt (+1) - (modified) libc/config/linux/aarch64/entrypoints

[llvm-branch-commits] [libc] [libc][math][c23] Add sqrtf16 C23 math function (PR #112406)

2024-10-17 Thread via llvm-branch-commits
https://github.com/lntue approved this pull request. https://github.com/llvm/llvm-project/pull/112406 ___ llvm-branch-commits mailing list [email protected] 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-17 Thread 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] [llvm][fatlto] Drop any CFI related instrumentation after emitting bitcode (PR #112788)

2024-10-17 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Paul Kirth (ilovepi) Changes We want to support CFI instrumentation for the bitcode section, without miscompiling the object code portion of a FatLTO object. We can reuse the existing mechanisms in the LowerTypeTestsPass to do that, by just

[llvm-branch-commits] [sanitizer] Add MemCpyAccessible (PR #112794)

2024-10-17 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-compiler-rt-sanitizer Author: Vitaly Buka (vitalybuka) Changes A layer over `TryMemCpy` to copy only availible pages. --- Full diff: https://github.com/llvm/llvm-project/pull/112794.diff 3 Files Affected: - (modified) compiler-rt/lib/sanitizer_commo

[llvm-branch-commits] [libc] [libc][math][c23] Add logf16 C23 math function (PR #106072)

2024-10-17 Thread via llvm-branch-commits
https://github.com/overmighty updated https://github.com/llvm/llvm-project/pull/106072 >From f011fa727e0974dc3ec69ecd8b5860008efa524d Mon Sep 17 00:00:00 2001 From: OverMighty Date: Mon, 26 Aug 2024 15:30:54 +0200 Subject: [PATCH 1/4] [libc][math][c23] Add logf16 C23 math function Part of #952

[llvm-branch-commits] [clang] [Clang] Disable use of the counted_by attribute for whole struct pointers (#112636) (PR #112786)

2024-10-17 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-clang-codegen @llvm/pr-subscribers-clang Author: Bill Wendling (bwendling) Changes The whole struct is specificed in the __bdos. The calculation of the whole size of the structure can be done in two ways: 1) sizeof(struct S) + count * sizeof(typeof

[llvm-branch-commits] [lsan] Process non-suspended threads (PR #112807)

2024-10-17 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-compiler-rt-sanitizer Author: Vitaly Buka (vitalybuka) Changes For such threads we have no registers, so no exact stack range, and no guaranties that stack is mapped at all. To avoid crashes on unmapped memory, `MemCpyAccessible` copies intersting rang

[llvm-branch-commits] [clang] [clang] Fix C23 constexpr crashes (#112708) (PR #112855)

2024-10-18 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Mariya Podchishchaeva (Fznamznon) Changes Before using a constexpr variable that is not properly initialized check that it is valid. Fixes https://github.com/llvm/llvm-project/issues/109095 Fixes https://github.com/llvm/llvm-project/issue

[llvm-branch-commits] [llvm] a173d27 - Revert "[AArch64][SVE] Enable max vector bandwidth for SVE (#109671)"

2024-10-18 Thread via llvm-branch-commits
Author: Graham Hunter Date: 2024-10-18T11:01:21+01:00 New Revision: a173d27e4a176c07de15cc7754155c3dff0fde15 URL: https://github.com/llvm/llvm-project/commit/a173d27e4a176c07de15cc7754155c3dff0fde15 DIFF: https://github.com/llvm/llvm-project/commit/a173d27e4a176c07de15cc7754155c3dff0fde15.diff

[llvm-branch-commits] [clang] clang/HIP: Remove requires system-linux from some driver tests (PR #112842)

2024-10-17 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-clang @llvm/pr-subscribers-clang-driver Author: Matt Arsenault (arsenm) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/112842.diff 2 Files Affected: - (modified) clang/test/Driver/hip-partial-link.hip (+1-1) - (modified) clang/tes

[llvm-branch-commits] [clang] clang/HIP: Remove requires system-linux from some driver tests (PR #112842)

2024-10-17 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-amdgpu Author: Matt Arsenault (arsenm) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/112842.diff 2 Files Affected: - (modified) clang/test/Driver/hip-partial-link.hip (+1-1) - (modified) clang/test/Driver/linker-wrapper.c

[llvm-branch-commits] [libc] [libc][math][c23] Add logf16 C23 math function (PR #106072)

2024-10-17 Thread via llvm-branch-commits
https://github.com/lntue edited https://github.com/llvm/llvm-project/pull/106072 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

<    47   48   49   50   51   52   53   54   55   56   >