[llvm-branch-commits] [clang] [analyzer][docs] Admit that the cleanup attribute is not supported (PR #81834)

2024-02-15 Thread Tom Stellard via llvm-branch-commits
https://github.com/tstellar closed https://github.com/llvm/llvm-project/pull/81834 ___ 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] c90f200 - [analyzer][docs] Admit that the cleanup attribute is not supported (#81834)

2024-02-15 Thread via llvm-branch-commits
Author: Balazs Benics Date: 2024-02-15T22:16:19-08:00 New Revision: c90f200b1e6d116ae8e566aae8fd86f6aa0c3808 URL: https://github.com/llvm/llvm-project/commit/c90f200b1e6d116ae8e566aae8fd86f6aa0c3808 DIFF: https://github.com/llvm/llvm-project/commit/c90f200b1e6d116ae8e566aae8fd86f6aa0c3808.diff

[llvm-branch-commits] [llvm] release/18.x: MipsAsmParser/O32: Don't add redundant $ to $-prefixed symbol in the la macro (#80644) (PR #81810)

2024-02-15 Thread Tom Stellard via llvm-branch-commits
https://github.com/tstellar closed https://github.com/llvm/llvm-project/pull/81810 ___ 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] 9cf0c29 - MipsAsmParser/O32: Don't add redundant $ to $-prefixed symbol in the la macro (#80644)

2024-02-15 Thread Tom Stellard via llvm-branch-commits
Author: YunQiang Su Date: 2024-02-15T22:13:32-08:00 New Revision: 9cf0c2962fd26b6fc9a665b75732b44b1603e1ee URL: https://github.com/llvm/llvm-project/commit/9cf0c2962fd26b6fc9a665b75732b44b1603e1ee DIFF: https://github.com/llvm/llvm-project/commit/9cf0c2962fd26b6fc9a665b75732b44b1603e1ee.diff

[llvm-branch-commits] [llvm] release/18.x: MipsAsmParser/O32: Don't add redundant $ to $-prefixed symbol in the la macro (#80644) (PR #81810)

2024-02-15 Thread via llvm-branch-commits
https://github.com/llvmbot updated https://github.com/llvm/llvm-project/pull/81810 >From 9cf0c2962fd26b6fc9a665b75732b44b1603e1ee Mon Sep 17 00:00:00 2001 From: YunQiang Su Date: Thu, 15 Feb 2024 04:48:55 +0800 Subject: [PATCH] MipsAsmParser/O32: Don't add redundant $ to $-prefixed symbol in

[llvm-branch-commits] [llvm] [CFI][annotation] Leave alone function pointers in function annotations (PR #81673)

2024-02-15 Thread Tom Stellard via llvm-branch-commits
https://github.com/tstellar updated https://github.com/llvm/llvm-project/pull/81673 >From da970525e79f099a1c8e22655958440d9c11d11f Mon Sep 17 00:00:00 2001 From: yozhu <101743168+yo...@users.noreply.github.com> Date: Fri, 9 Feb 2024 13:55:08 -0800 Subject: [PATCH] [CFI][annotation] Leave alone

[llvm-branch-commits] [clang] [llvm] [PowerPC] Update V18.1.0 release notes (PR #81631)

2024-02-15 Thread Tom Stellard via llvm-branch-commits
https://github.com/tstellar closed https://github.com/llvm/llvm-project/pull/81631 ___ 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] e3c6d5a - [PowerPC] Update V18.1.0 release notes (#81631)

2024-02-15 Thread via llvm-branch-commits
Author: Maryam Moghadas Date: 2024-02-15T22:01:26-08:00 New Revision: e3c6d5abb1a8a4bfb40fdccc5ceda8e5377167b6 URL: https://github.com/llvm/llvm-project/commit/e3c6d5abb1a8a4bfb40fdccc5ceda8e5377167b6 DIFF:

[llvm-branch-commits] [clang] [llvm] release/18.x: [AArch64][SME] Implement inline-asm clobbers for za/zt0 (#79276) (PR #81593)

2024-02-15 Thread Tom Stellard via llvm-branch-commits
https://github.com/tstellar closed https://github.com/llvm/llvm-project/pull/81593 ___ 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] 8b7b3fb - [AArch64][SME] Implement inline-asm clobbers for za/zt0 (#79276)

2024-02-15 Thread Tom Stellard via llvm-branch-commits
Author: Matthew Devereau Date: 2024-02-15T21:58:29-08:00 New Revision: 8b7b3fbe29051f5456334a9c6990e053fd3e59dc URL: https://github.com/llvm/llvm-project/commit/8b7b3fbe29051f5456334a9c6990e053fd3e59dc DIFF:

[llvm-branch-commits] [clang] [llvm] release/18.x: [AArch64][SME] Implement inline-asm clobbers for za/zt0 (#79276) (PR #81593)

2024-02-15 Thread via llvm-branch-commits
https://github.com/llvmbot updated https://github.com/llvm/llvm-project/pull/81593 >From 8b7b3fbe29051f5456334a9c6990e053fd3e59dc Mon Sep 17 00:00:00 2001 From: Matthew Devereau Date: Fri, 2 Feb 2024 08:12:05 + Subject: [PATCH] [AArch64][SME] Implement inline-asm clobbers for za/zt0

[llvm-branch-commits] [llvm] 325d4a1 - Revert "[RISCV] Recurse on first operand of two operand shuffles (#79180)" (#80238)

2024-02-15 Thread via llvm-branch-commits
Author: Philip Reames Date: 2024-02-15T21:56:56-08:00 New Revision: 325d4a1985d2fc2ea1851b0c27d56cc691445a0e URL: https://github.com/llvm/llvm-project/commit/325d4a1985d2fc2ea1851b0c27d56cc691445a0e DIFF: https://github.com/llvm/llvm-project/commit/325d4a1985d2fc2ea1851b0c27d56cc691445a0e.diff

[llvm-branch-commits] [llvm] Revert "[RISCV] Recurse on first operand of two operand shuffles (#79180)" (PR #80238)

2024-02-15 Thread Tom Stellard via llvm-branch-commits
https://github.com/tstellar closed https://github.com/llvm/llvm-project/pull/80238 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang] release/18.x: [clang-format] Don't remove parentheses in macro definitions (#81444) (PR #81566)

2024-02-15 Thread Tom Stellard via llvm-branch-commits
https://github.com/tstellar closed https://github.com/llvm/llvm-project/pull/81566 ___ 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] ab57f6c - [clang-format] Don't remove parentheses in macro definitions (#81444)

2024-02-15 Thread Tom Stellard via llvm-branch-commits
Author: Owen Pan Date: 2024-02-15T21:54:37-08:00 New Revision: ab57f6ced6909c202446b265a7acb2e945e4f52b URL: https://github.com/llvm/llvm-project/commit/ab57f6ced6909c202446b265a7acb2e945e4f52b DIFF: https://github.com/llvm/llvm-project/commit/ab57f6ced6909c202446b265a7acb2e945e4f52b.diff

[llvm-branch-commits] [clang] release/18.x: [clang-format] Don't remove parentheses in macro definitions (#81444) (PR #81566)

2024-02-15 Thread via llvm-branch-commits
https://github.com/llvmbot updated https://github.com/llvm/llvm-project/pull/81566 >From ab57f6ced6909c202446b265a7acb2e945e4f52b Mon Sep 17 00:00:00 2001 From: Owen Pan Date: Mon, 12 Feb 2024 19:20:26 -0800 Subject: [PATCH] [clang-format] Don't remove parentheses in macro definitions

[llvm-branch-commits] [libcxx] release/18.x: [libc++][print] Moves is_terminal to the dylib. (#80464) (PR #81410)

2024-02-15 Thread Tom Stellard via llvm-branch-commits
https://github.com/tstellar closed https://github.com/llvm/llvm-project/pull/81410 ___ 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] 872fe20 - [libc++][print] Moves is_terminal to the dylib. (#80464)

2024-02-15 Thread Tom Stellard via llvm-branch-commits
Author: Mark de Wever Date: 2024-02-15T21:35:51-08:00 New Revision: 872fe20dddfaa6e41d92f90c3a1b716dc9e32107 URL: https://github.com/llvm/llvm-project/commit/872fe20dddfaa6e41d92f90c3a1b716dc9e32107 DIFF: https://github.com/llvm/llvm-project/commit/872fe20dddfaa6e41d92f90c3a1b716dc9e32107.diff

[llvm-branch-commits] [libcxx] release/18.x: [libc++][print] Moves is_terminal to the dylib. (#80464) (PR #81410)

2024-02-15 Thread via llvm-branch-commits
https://github.com/llvmbot updated https://github.com/llvm/llvm-project/pull/81410 >From 872fe20dddfaa6e41d92f90c3a1b716dc9e32107 Mon Sep 17 00:00:00 2001 From: Mark de Wever Date: Sat, 10 Feb 2024 17:09:53 +0100 Subject: [PATCH] [libc++][print] Moves is_terminal to the dylib. (#80464) Having

[llvm-branch-commits] [lld] [LLD] [docs] Add a release note for the SOURCE_DATE_EPOCH support (PR #81388)

2024-02-15 Thread Tom Stellard via llvm-branch-commits
https://github.com/tstellar closed https://github.com/llvm/llvm-project/pull/81388 ___ 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] 8391421 - [LLD] [docs] Add a release note for the SOURCE_DATE_EPOCH support (#81388)

2024-02-15 Thread via llvm-branch-commits
Author: Martin Storsjö Date: 2024-02-15T21:35:12-08:00 New Revision: 83914215322e6db125ee5621d2fb18d97bab82c9 URL: https://github.com/llvm/llvm-project/commit/83914215322e6db125ee5621d2fb18d97bab82c9 DIFF:

[llvm-branch-commits] [llvm] release/18.x: [RISCV] Make sure ADDI replacement in optimizeCondBranch has a virtual reg destination. (#81938) (PR #81953)

2024-02-15 Thread Min-Yih Hsu via llvm-branch-commits
https://github.com/mshockwave approved this pull request. LGTM https://github.com/llvm/llvm-project/pull/81953 ___ 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/18.x: [RISCV] Make sure ADDI replacement in optimizeCondBranch has a virtual reg destination. (#81938) (PR #81953)

2024-02-15 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-risc-v Author: None (llvmbot) Changes Backport feee627974df81e4cbf15537e4c4688aed66b12f Requested by: @topperc --- Full diff: https://github.com/llvm/llvm-project/pull/81953.diff 2 Files Affected: - (modified)

[llvm-branch-commits] [llvm] release/18.x: [RISCV] Make sure ADDI replacement in optimizeCondBranch has a virtual reg destination. (#81938) (PR #81953)

2024-02-15 Thread via llvm-branch-commits
llvmbot wrote: @mshockwave What do you think about merging this PR to the release branch? https://github.com/llvm/llvm-project/pull/81953 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org

[llvm-branch-commits] [llvm] release/18.x: [RISCV] Make sure ADDI replacement in optimizeCondBranch has a virtual reg destination. (#81938) (PR #81953)

2024-02-15 Thread via llvm-branch-commits
https://github.com/llvmbot milestoned https://github.com/llvm/llvm-project/pull/81953 ___ 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/18.x: [RISCV] Make sure ADDI replacement in optimizeCondBranch has a virtual reg destination. (#81938) (PR #81953)

2024-02-15 Thread via llvm-branch-commits
https://github.com/llvmbot created https://github.com/llvm/llvm-project/pull/81953 Backport feee627974df81e4cbf15537e4c4688aed66b12f Requested by: @topperc >From 3dcdbaf5321406f5438388041ec95014ae88814c Mon Sep 17 00:00:00 2001 From: Craig Topper Date: Thu, 15 Feb 2024 16:34:40 -0800

[llvm-branch-commits] [Flang][OpenMP][MLIR] Extend derived (record) type map support in Flang OpenMP by adding some initial support for explicit member mapping (PR #81511)

2024-02-15 Thread via llvm-branch-commits
agozillon wrote: Most recent updates were a rebase for the entire stack and an update of this current PR (Fortran level changes) to try and address the very good feedback. However, first time doing this using SPR, so if anyone notices any weirdness please don't hesitate to point it out! The

[llvm-branch-commits] [Flang][OpenMP][MLIR] Extend derived (record) type map support in Flang OpenMP by adding some initial support for explicit member mapping (PR #81511)

2024-02-15 Thread via llvm-branch-commits
https://github.com/agozillon updated https://github.com/llvm/llvm-project/pull/81511 ___ 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][OpenMP][MLIR] Extend derived (record) type map support in Flang OpenMP by adding some initial support for explicit member mapping (PR #81511)

2024-02-15 Thread via llvm-branch-commits
https://github.com/agozillon updated https://github.com/llvm/llvm-project/pull/81511 ___ 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][OpenMP][MLIR] Extend derived (record) type map support in Flang OpenMP by adding some initial support for explicit member mapping (PR #81511)

2024-02-15 Thread via llvm-branch-commits
https://github.com/agozillon updated https://github.com/llvm/llvm-project/pull/81511 ___ 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][OpenMP][MLIR] Extend derived (record) type map support in Flang OpenMP by adding some initial support for explicit member mapping (PR #81511)

2024-02-15 Thread via llvm-branch-commits
https://github.com/agozillon updated https://github.com/llvm/llvm-project/pull/81511 ___ 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] [OpenMP][MLIR] Extend explicit derived type member mapping support for OpenMP dialects lowering to LLVM-IR (PR #81510)

2024-02-15 Thread via llvm-branch-commits
https://github.com/agozillon updated https://github.com/llvm/llvm-project/pull/81510 ___ 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] [OpenMP][MLIR] Extend explicit derived type member mapping support for OpenMP dialects lowering to LLVM-IR (PR #81510)

2024-02-15 Thread via llvm-branch-commits
https://github.com/agozillon updated https://github.com/llvm/llvm-project/pull/81510 ___ 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] [OpenMP][MLIR] Add new partial_map and members_index arguments to omp.map_info operations to help support record type mapping (PR #81509)

2024-02-15 Thread via llvm-branch-commits
https://github.com/agozillon updated https://github.com/llvm/llvm-project/pull/81509 ___ 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] [OpenMP][MLIR] Add new partial_map and members_index arguments to omp.map_info operations to help support record type mapping (PR #81509)

2024-02-15 Thread via llvm-branch-commits
https://github.com/agozillon updated https://github.com/llvm/llvm-project/pull/81509 ___ 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] [ELF] Support placing .lbss/.lrodata/.ldata after .bss (PR #81224)

2024-02-15 Thread Arthur Eubanks via llvm-branch-commits
@@ -1436,6 +1436,8 @@ static void readConfigs(opt::InputArgList ) { config->zInterpose = hasZOption(args, "interpose"); config->zKeepTextSectionPrefix = getZFlag( args, "keep-text-section-prefix", "nokeep-text-section-prefix", false); + config->zLrodataAfterBss = +

[llvm-branch-commits] [ELF] Support placing .lbss/.lrodata/.ldata after .bss (PR #81224)

2024-02-15 Thread Fangrui Song via llvm-branch-commits
@@ -1436,6 +1436,8 @@ static void readConfigs(opt::InputArgList ) { config->zInterpose = hasZOption(args, "interpose"); config->zKeepTextSectionPrefix = getZFlag( args, "keep-text-section-prefix", "nokeep-text-section-prefix", false); + config->zLrodataAfterBss = +

[llvm-branch-commits] [llvm] [SROA] Use !tbaa instead of !tbaa.struct if op matches field. (PR #81289)

2024-02-15 Thread Florian Hahn via llvm-branch-commits
https://github.com/fhahn commented: @dobbelaj-snps Added a substantial number of tests that should cover all cases now in 2a9b86cc10c3883cca51a5166aad6e2b755fa958 https://github.com/llvm/llvm-project/pull/81289 ___ llvm-branch-commits mailing list

[llvm-branch-commits] [llvm] [SROA] Use !tbaa instead of !tbaa.struct if op matches field. (PR #81289)

2024-02-15 Thread Florian Hahn via llvm-branch-commits
@@ -4561,6 +4577,10 @@ bool SROA::presplitLoadsAndStores(AllocaInst , AllocaSlices ) { PStore->copyMetadata(*SI, {LLVMContext::MD_mem_parallel_loop_access, LLVMContext::MD_access_group,

[llvm-branch-commits] [llvm] [SROA] Use !tbaa instead of !tbaa.struct if op matches field. (PR #81289)

2024-02-15 Thread Florian Hahn via llvm-branch-commits
https://github.com/fhahn edited https://github.com/llvm/llvm-project/pull/81289 ___ 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] [SROA] Use !tbaa instead of !tbaa.struct if op matches field. (PR #81289)

2024-02-15 Thread Florian Hahn via llvm-branch-commits
https://github.com/fhahn updated https://github.com/llvm/llvm-project/pull/81289 >From 90639e9131670863ebb4c199a9861b2b0094d601 Mon Sep 17 00:00:00 2001 From: Florian Hahn Date: Fri, 9 Feb 2024 15:17:09 + Subject: [PATCH 1/2] [SROA] Use !tbaa instead of !tbaa.struct if op matches field.

[llvm-branch-commits] [mlir] c11e879 - Revert "[mlir][sparse] remove LevelType enum, construct LevelType from LevelF…"

2024-02-15 Thread via llvm-branch-commits
Author: Mehdi Amini Date: 2024-02-15T13:26:07-08:00 New Revision: c11e879dec122a027ca9ab897fa9c6517cc3f33d URL: https://github.com/llvm/llvm-project/commit/c11e879dec122a027ca9ab897fa9c6517cc3f33d DIFF: https://github.com/llvm/llvm-project/commit/c11e879dec122a027ca9ab897fa9c6517cc3f33d.diff

[llvm-branch-commits] [ELF] Support placing .lbss/.lrodata/.ldata after .bss (PR #81224)

2024-02-15 Thread Arthur Eubanks via llvm-branch-commits
@@ -1436,6 +1436,8 @@ static void readConfigs(opt::InputArgList ) { config->zInterpose = hasZOption(args, "interpose"); config->zKeepTextSectionPrefix = getZFlag( args, "keep-text-section-prefix", "nokeep-text-section-prefix", false); + config->zLrodataAfterBss = +

[llvm-branch-commits] [ELF] Support placing .lbss/.lrodata/.ldata after .bss (PR #81224)

2024-02-15 Thread James Y Knight via llvm-branch-commits
@@ -1436,6 +1436,8 @@ static void readConfigs(opt::InputArgList ) { config->zInterpose = hasZOption(args, "interpose"); config->zKeepTextSectionPrefix = getZFlag( args, "keep-text-section-prefix", "nokeep-text-section-prefix", false); + config->zLrodataAfterBss = +

[llvm-branch-commits] [llvm] release/18.x: [RISCV] Use APInt in useInversedSetcc to prevent crashes when mask is larger than UINT64_MAX. (#81888) (PR #81905)

2024-02-15 Thread Alex Bradbury via llvm-branch-commits
https://github.com/asb approved this pull request. LGTM. https://github.com/llvm/llvm-project/pull/81905 ___ 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/18.x: [RISCV] Use APInt in useInversedSetcc to prevent crashes when mask is larger than UINT64_MAX. (#81888) (PR #81905)

2024-02-15 Thread via llvm-branch-commits
https://github.com/llvmbot updated https://github.com/llvm/llvm-project/pull/81905 >From bdf12ae33343b8ac5561921071c27d9dd4a2182e Mon Sep 17 00:00:00 2001 From: Craig Topper Date: Thu, 15 Feb 2024 10:48:52 -0800 Subject: [PATCH] [RISCV] Use APInt in useInversedSetcc to prevent crashes when

[llvm-branch-commits] [llvm] release/18.x: [RISCV] Use APInt in useInversedSetcc to prevent crashes when mask is larger than UINT64_MAX. (#81888) (PR #81905)

2024-02-15 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-risc-v Author: None (llvmbot) Changes Backport b57ba8ec514190b38eced26d541e8e25af66c485 Requested by: @topperc --- Full diff: https://github.com/llvm/llvm-project/pull/81905.diff 2 Files Affected: - (modified)

[llvm-branch-commits] [llvm] release/18.x: [RISCV] Use APInt in useInversedSetcc to prevent crashes when mask is larger than UINT64_MAX. (#81888) (PR #81905)

2024-02-15 Thread via llvm-branch-commits
https://github.com/llvmbot created https://github.com/llvm/llvm-project/pull/81905 Backport b57ba8ec514190b38eced26d541e8e25af66c485 Requested by: @topperc >From a5e2945a3b0bb06c2c3d54cc000399a6bdb1b70f Mon Sep 17 00:00:00 2001 From: Craig Topper Date: Thu, 15 Feb 2024 10:48:52 -0800

[llvm-branch-commits] [llvm] release/18.x: [RISCV] Use APInt in useInversedSetcc to prevent crashes when mask is larger than UINT64_MAX. (#81888) (PR #81905)

2024-02-15 Thread via llvm-branch-commits
llvmbot wrote: @asb What do you think about merging this PR to the release branch? https://github.com/llvm/llvm-project/pull/81905 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org

[llvm-branch-commits] [llvm] release/18.x: [RISCV] Use APInt in useInversedSetcc to prevent crashes when mask is larger than UINT64_MAX. (#81888) (PR #81905)

2024-02-15 Thread via llvm-branch-commits
https://github.com/llvmbot milestoned https://github.com/llvm/llvm-project/pull/81905 ___ 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] Backport ARM64EC variadic args fixes to LLVM 18 (PR #81800)

2024-02-15 Thread Daniel Paoliello via llvm-branch-commits
dpaoliello wrote: > I was sort of waiting until the discussion on #80994 resolves... we might end > up reverting parts of #80595 . > > I guess it won't do any harm to land as-is, though. I'll wait - I'd rather not drop something into the release branch if we know it may cause issues.

[llvm-branch-commits] [ELF] Support placing .lbss/.lrodata/.ldata after .bss (PR #81224)

2024-02-15 Thread Fangrui Song via llvm-branch-commits
@@ -1436,6 +1436,8 @@ static void readConfigs(opt::InputArgList ) { config->zInterpose = hasZOption(args, "interpose"); config->zKeepTextSectionPrefix = getZFlag( args, "keep-text-section-prefix", "nokeep-text-section-prefix", false); + config->zLrodataAfterBss = +

[llvm-branch-commits] [llvm] [asan] isInterestingAlloca: remove the isAllocaPromotable condition (PR #77221)

2024-02-15 Thread Fangrui Song via llvm-branch-commits
https://github.com/MaskRay closed https://github.com/llvm/llvm-project/pull/77221 ___ 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] [asan] isInterestingAlloca: remove the isAllocaPromotable condition (PR #77221)

2024-02-15 Thread Vitaly Buka via llvm-branch-commits
@@ -1279,9 +1278,6 @@ bool AddressSanitizer::isInterestingAlloca(const AllocaInst ) { (AI.getAllocatedType()->isSized() && vitalybuka wrote: Yes, either keep as ClSkipPromotableAllocas=false, just in case, or remove it. Something similar but not the same

[llvm-branch-commits] [llvm] [asan] isInterestingAlloca: remove the isAllocaPromotable condition (PR #77221)

2024-02-15 Thread Vitaly Buka via llvm-branch-commits
https://github.com/vitalybuka edited https://github.com/llvm/llvm-project/pull/77221 ___ 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] [asan] isInterestingAlloca: remove the isAllocaPromotable condition (PR #77221)

2024-02-15 Thread Vitaly Buka via llvm-branch-commits
https://github.com/vitalybuka approved this pull request. https://github.com/llvm/llvm-project/pull/77221 ___ 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] [analyzer][docs] Admit that the cleanup attribute is not supported (PR #81834)

2024-02-15 Thread Gábor Horváth via llvm-branch-commits
https://github.com/Xazax-hun approved this pull request. https://github.com/llvm/llvm-project/pull/81834 ___ 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] [OpenMP][MLIR] Extend explicit derived type member mapping support for OpenMP dialects lowering to LLVM-IR (PR #81510)

2024-02-15 Thread Kareem Ergawy via llvm-branch-commits
@@ -1783,6 +1783,98 @@ void collectMapDataFromMapOperands(MapInfoData , } } +static int getMapDataMemberIdx(MapInfoData , + mlir::omp::MapInfoOp memberOp) { + int memberDataIdx = -1; + for (size_t i = 0; i < mapData.MapClause.size(); ++i) { +

[llvm-branch-commits] [OpenMP][MLIR] Extend explicit derived type member mapping support for OpenMP dialects lowering to LLVM-IR (PR #81510)

2024-02-15 Thread Kareem Ergawy via llvm-branch-commits
@@ -1783,6 +1783,98 @@ void collectMapDataFromMapOperands(MapInfoData , } } +static int getMapDataMemberIdx(MapInfoData , + mlir::omp::MapInfoOp memberOp) { + int memberDataIdx = -1; + for (size_t i = 0; i < mapData.MapClause.size(); ++i) { +

[llvm-branch-commits] [OpenMP][MLIR] Extend explicit derived type member mapping support for OpenMP dialects lowering to LLVM-IR (PR #81510)

2024-02-15 Thread Kareem Ergawy via llvm-branch-commits
@@ -1783,6 +1783,98 @@ void collectMapDataFromMapOperands(MapInfoData , } } +static int getMapDataMemberIdx(MapInfoData , + mlir::omp::MapInfoOp memberOp) { + int memberDataIdx = -1; + for (size_t i = 0; i < mapData.MapClause.size(); ++i) { +

[llvm-branch-commits] [OpenMP][MLIR] Extend explicit derived type member mapping support for OpenMP dialects lowering to LLVM-IR (PR #81510)

2024-02-15 Thread Kareem Ergawy via llvm-branch-commits
@@ -1783,6 +1783,98 @@ void collectMapDataFromMapOperands(MapInfoData , } } +static int getMapDataMemberIdx(MapInfoData , + mlir::omp::MapInfoOp memberOp) { + int memberDataIdx = -1; + for (size_t i = 0; i < mapData.MapClause.size(); ++i) { +

[llvm-branch-commits] [OpenMP][MLIR] Extend explicit derived type member mapping support for OpenMP dialects lowering to LLVM-IR (PR #81510)

2024-02-15 Thread Kareem Ergawy via llvm-branch-commits
@@ -1783,6 +1783,98 @@ void collectMapDataFromMapOperands(MapInfoData , } } +static int getMapDataMemberIdx(MapInfoData , + mlir::omp::MapInfoOp memberOp) { + int memberDataIdx = -1; + for (size_t i = 0; i < mapData.MapClause.size(); ++i) { +

[llvm-branch-commits] [OpenMP][MLIR] Extend explicit derived type member mapping support for OpenMP dialects lowering to LLVM-IR (PR #81510)

2024-02-15 Thread Kareem Ergawy via llvm-branch-commits
@@ -1783,6 +1783,98 @@ void collectMapDataFromMapOperands(MapInfoData , } } +static int getMapDataMemberIdx(MapInfoData , + mlir::omp::MapInfoOp memberOp) { + int memberDataIdx = -1; + for (size_t i = 0; i < mapData.MapClause.size(); ++i) { +

[llvm-branch-commits] [libcxx] release/18.x: [libc++][modules] Re-add build dir CMakeLists.txt. (#81370) (PR #81651)

2024-02-15 Thread Louis Dionne via llvm-branch-commits
ldionne wrote: Approved after talking with Mark. This is important for early adopters of modules. https://github.com/llvm/llvm-project/pull/81651 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org

[llvm-branch-commits] [ELF] Support placing .lbss/.lrodata/.ldata after .bss (PR #81224)

2024-02-15 Thread James Y Knight via llvm-branch-commits
@@ -1436,6 +1436,8 @@ static void readConfigs(opt::InputArgList ) { config->zInterpose = hasZOption(args, "interpose"); config->zKeepTextSectionPrefix = getZFlag( args, "keep-text-section-prefix", "nokeep-text-section-prefix", false); + config->zLrodataAfterBss = +

[llvm-branch-commits] [Flang][OpenMP][MLIR] Extend derived (record) type map support in Flang OpenMP by adding some initial support for explicit member mapping (PR #81511)

2024-02-15 Thread via llvm-branch-commits
@@ -0,0 +1,262 @@ +//===- OMPMapInfoFinalization.cpp +//---===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +//

[llvm-branch-commits] [llvm] [AArch64] Improve cost model for legal subvec insert/extract (PR #81135)

2024-02-15 Thread Sander de Smalen via llvm-branch-commits
@@ -568,6 +568,48 @@ AArch64TTIImpl::getIntrinsicInstrCost(const IntrinsicCostAttributes , } return Cost; } + case Intrinsic::vector_extract: { +// If both the vector argument and the return type are legal types and the +// index is 0, then this should be a

[llvm-branch-commits] [llvm] [AArch64] Improve cost model for legal subvec insert/extract (PR #81135)

2024-02-15 Thread Sander de Smalen via llvm-branch-commits
@@ -568,6 +568,48 @@ AArch64TTIImpl::getIntrinsicInstrCost(const IntrinsicCostAttributes , } return Cost; } + case Intrinsic::vector_extract: { +// If both the vector argument and the return type are legal types and the +// index is 0, then this should be a

[llvm-branch-commits] [llvm] [AArch64] Improve cost model for legal subvec insert/extract (PR #81135)

2024-02-15 Thread Sander de Smalen via llvm-branch-commits
@@ -568,6 +568,32 @@ AArch64TTIImpl::getIntrinsicInstrCost(const IntrinsicCostAttributes , } return Cost; } + case Intrinsic::vector_extract: { +// If both the vector argument and the return type are legal types, then +// this should be a no-op or simple

[llvm-branch-commits] [clang] [llvm] release/18.x: Backport Ampere1B support (#81297 , #81341, and #81744) (PR #81857)

2024-02-15 Thread Philipp Tomsich via llvm-branch-commits
https://github.com/ptomsich edited https://github.com/llvm/llvm-project/pull/81857 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang] [llvm] release/18.x: Backport Ampere1B support (#81744) (PR #81857)

2024-02-15 Thread Philipp Tomsich via llvm-branch-commits
https://github.com/ptomsich edited https://github.com/llvm/llvm-project/pull/81857 ___ 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][OpenMP][MLIR] Extend derived (record) type map support in Flang OpenMP by adding some initial support for explicit member mapping (PR #81511)

2024-02-15 Thread Kareem Ergawy via llvm-branch-commits
@@ -1906,8 +2036,22 @@ bool ClauseProcessor::processMap( for (const Fortran::parser::OmpObject : std::get(mapClause->v.t).v) { + llvm::omp::OpenMPOffloadMappingFlags objectsMapTypeBits = mapTypeBits; +

[llvm-branch-commits] [Flang][OpenMP][MLIR] Extend derived (record) type map support in Flang OpenMP by adding some initial support for explicit member mapping (PR #81511)

2024-02-15 Thread Kareem Ergawy via llvm-branch-commits
@@ -1859,7 +1983,13 @@ bool ClauseProcessor::processMap( llvm::SmallVectorImpl *mapSymbols) const { fir::FirOpBuilder = converter.getFirOpBuilder(); - return findRepeatableClause( + + llvm::SmallVector memberMaps; + llvm::SmallVector memberPlacementIndices; +

[llvm-branch-commits] [Flang][OpenMP][MLIR] Extend derived (record) type map support in Flang OpenMP by adding some initial support for explicit member mapping (PR #81511)

2024-02-15 Thread Kareem Ergawy via llvm-branch-commits
https://github.com/ergawy commented: I reviewed the entire PR and commented on all what I thought worth mentioning. But I will leave the approval to people working on this longer than I am. Hopefully my review makes other reviewers go over the PR faster. One comment about the lit tests in the

[llvm-branch-commits] [Flang][OpenMP][MLIR] Extend derived (record) type map support in Flang OpenMP by adding some initial support for explicit member mapping (PR #81511)

2024-02-15 Thread Kareem Ergawy via llvm-branch-commits
@@ -0,0 +1,262 @@ +//===- OMPMapInfoFinalization.cpp +//---===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +//

[llvm-branch-commits] [Flang][OpenMP][MLIR] Extend derived (record) type map support in Flang OpenMP by adding some initial support for explicit member mapping (PR #81511)

2024-02-15 Thread Kareem Ergawy via llvm-branch-commits
https://github.com/ergawy edited https://github.com/llvm/llvm-project/pull/81511 ___ 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] Revert "[RISCV] Recurse on first operand of two operand shuffles (#79180)" (PR #80238)

2024-02-15 Thread Alex Bradbury via llvm-branch-commits
https://github.com/asb approved this pull request. In case it's helpful, explicit LGTM from me on backporting this. @preames looks like you need to rebase https://github.com/llvm/llvm-project/pull/80238 ___ llvm-branch-commits mailing list

[llvm-branch-commits] [clang] [llvm] release/18.x: [NFC][AArch64] fix whitespace in AArch64SchedNeoverseV1 (#81744) (PR #81857)

2024-02-15 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-clang @llvm/pr-subscribers-backend-aarch64 Author: None (llvmbot) Changes Backport a52eea66795018550e95c4b060165a7250899298 fbba818a78f591d89f25768ba31783714d526532 dd1897c6cb028bda7d4d541d1bb33965eccf0a68 3369e341288b3d9bb59827f9a2911ebf3d36408d

[llvm-branch-commits] [clang] [llvm] release/18.x: [NFC][AArch64] fix whitespace in AArch64SchedNeoverseV1 (#81744) (PR #81857)

2024-02-15 Thread via llvm-branch-commits
llvmbot wrote: @DavidSpickett @jthackray @davemgreen @davemgreen What do you think about merging this PR to the release branch? https://github.com/llvm/llvm-project/pull/81857 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org

[llvm-branch-commits] [clang] [llvm] release/18.x: [NFC][AArch64] fix whitespace in AArch64SchedNeoverseV1 (#81744) (PR #81857)

2024-02-15 Thread via llvm-branch-commits
https://github.com/llvmbot milestoned https://github.com/llvm/llvm-project/pull/81857 ___ 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] [openmp] release/18.x: [OpenMP] [cmake] Don't use -fno-semantic-interposition on Windows (#81113) (PR #81332)

2024-02-15 Thread Joseph Huber via llvm-branch-commits
jhuber6 wrote: Sure, LG https://github.com/llvm/llvm-project/pull/81332 ___ 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] [openmp] release/18.x: [OpenMP] [cmake] Don't use -fno-semantic-interposition on Windows (#81113) (PR #81332)

2024-02-15 Thread Martin Storsjö via llvm-branch-commits
mstorsjo wrote: Ping @jhuber6, can you ack this backport? https://github.com/llvm/llvm-project/pull/81332 ___ 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] [AArch64][GlobalISel] Improve codegen for G_VECREDUCE_{SMIN, SMAX, UMIN, UMAX} for odd-sized vectors (PR #81831)

2024-02-15 Thread Dhruv Chawla via llvm-branch-commits
@@ -1070,6 +1070,13 @@ AArch64LegalizerInfo::AArch64LegalizerInfo(const AArch64Subtarget ) {s16, v8s16}, {s32, v2s32}, {s32, v4s32}}) + .moreElementsIf( dc03-work wrote: As I noted in my commit message,

[llvm-branch-commits] [AArch64][GlobalISel] Improve codegen for G_VECREDUCE_{SMIN, SMAX, UMIN, UMAX} for odd-sized vectors (PR #81831)

2024-02-15 Thread David Green via llvm-branch-commits
@@ -1070,6 +1070,13 @@ AArch64LegalizerInfo::AArch64LegalizerInfo(const AArch64Subtarget ) {s16, v8s16}, {s32, v2s32}, {s32, v4s32}}) + .moreElementsIf( davemgreen wrote: I think this can happen for

[llvm-branch-commits] [clang] [analyzer][docs] Admit that the cleanup attribute is not supported (PR #81834)

2024-02-15 Thread Balazs Benics via llvm-branch-commits
https://github.com/steakhal milestoned https://github.com/llvm/llvm-project/pull/81834 ___ 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] [analyzer][docs] Admit that the cleanup attribute is not supported (PR #81834)

2024-02-15 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Balazs Benics (steakhal) Changes In fact, the cleanup attribute is only added to the CFG, but still unhandled by CSA. I propose dropping this false "support" statement from the docs. --- Full diff:

[llvm-branch-commits] [clang] [analyzer][docs] Admit that the cleanup attribute is not supported (PR #81834)

2024-02-15 Thread Balazs Benics via llvm-branch-commits
https://github.com/steakhal created https://github.com/llvm/llvm-project/pull/81834 In fact, the cleanup attribute is only added to the CFG, but still unhandled by CSA. I propose dropping this false "support" statement from the docs. >From 9676ef916e3617e879bb3f498472754031b3310b Mon Sep 17

[llvm-branch-commits] [llvm] Use container on Linux to run llvm-project-tests workflow (#81349) (PR #81807)

2024-02-15 Thread Nikita Popov via llvm-branch-commits
https://github.com/nikic milestoned https://github.com/llvm/llvm-project/pull/81807 ___ 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] Backport ARM64EC variadic args fixes to LLVM 18 (PR #81800)

2024-02-15 Thread Nikita Popov via llvm-branch-commits
https://github.com/nikic milestoned https://github.com/llvm/llvm-project/pull/81800 ___ 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] [asan] isInterestingAlloca: remove the isAllocaPromotable condition (PR #77221)

2024-02-15 Thread Fangrui Song via llvm-branch-commits
https://github.com/MaskRay updated https://github.com/llvm/llvm-project/pull/77221 >From 46d21cd0327e352491be77bb86740167984c0209 Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Wed, 14 Feb 2024 23:26:34 -0800 Subject: [PATCH 1/2] fix cl::desc Created using spr 1.3.4 ---

[llvm-branch-commits] [llvm] [asan] isInterestingAlloca: remove the isAllocaPromotable condition (PR #77221)

2024-02-15 Thread Fangrui Song via llvm-branch-commits
https://github.com/MaskRay updated https://github.com/llvm/llvm-project/pull/77221 >From 46d21cd0327e352491be77bb86740167984c0209 Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Wed, 14 Feb 2024 23:26:34 -0800 Subject: [PATCH] fix cl::desc Created using spr 1.3.4 ---

[llvm-branch-commits] [llvm] [asan] isInterestingAlloca: remove the isAllocaPromotable condition (PR #77221)

2024-02-15 Thread Fangrui Song via llvm-branch-commits
https://github.com/MaskRay edited https://github.com/llvm/llvm-project/pull/77221 ___ 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] [asan] isInterestingAlloca: remove the isAllocaPromotable condition (PR #77221)

2024-02-15 Thread Fangrui Song via llvm-branch-commits
https://github.com/MaskRay updated https://github.com/llvm/llvm-project/pull/77221 >From 46d21cd0327e352491be77bb86740167984c0209 Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Wed, 14 Feb 2024 23:26:34 -0800 Subject: [PATCH] fix cl::desc Created using spr 1.3.4 ---

[llvm-branch-commits] [llvm] [asan] isInterestingAlloca: remove the isAllocaPromotable condition (PR #77221)

2024-02-15 Thread Fangrui Song via llvm-branch-commits
https://github.com/MaskRay edited https://github.com/llvm/llvm-project/pull/77221 ___ 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] [asan] isInterestingAlloca: remove the isAllocaPromotable condition (PR #77221)

2024-02-15 Thread Fangrui Song via llvm-branch-commits
@@ -1279,9 +1278,6 @@ bool AddressSanitizer::isInterestingAlloca(const AllocaInst ) { (AI.getAllocatedType()->isSized() && MaskRay wrote: In `ClInstrumentUninterestingAllocas=0 mode`, `!(SSGI && SSGI->isSafe(AI))` can ignore some `AllocaInst`s that

[llvm-branch-commits] [ELF] Support placing .lbss/.lrodata/.ldata after .bss (PR #81224)

2024-02-15 Thread Fangrui Song via llvm-branch-commits
https://github.com/MaskRay updated https://github.com/llvm/llvm-project/pull/81224 ___ 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] [ELF] Support placing .lbss/.lrodata/.ldata after .bss (PR #81224)

2024-02-15 Thread Fangrui Song via llvm-branch-commits
https://github.com/MaskRay edited https://github.com/llvm/llvm-project/pull/81224 ___ 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] [ELF] Support placing .lbss/.lrodata/.ldata after .bss (PR #81224)

2024-02-15 Thread Fangrui Song via llvm-branch-commits
https://github.com/MaskRay updated https://github.com/llvm/llvm-project/pull/81224 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits