[llvm-branch-commits] Extract EmitCheckedArgForAssume (PR #109880)

2024-09-24 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-clang-codegen Author: Vitaly Buka (vitalybuka) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/109880.diff 3 Files Affected: - (modified) clang/lib/CodeGen/CGBuiltin.cpp (+21-12) - (modified) clang/lib/CodeGen/CGStmt.cpp (+1-2) -

[llvm-branch-commits] Extract EmitCheckedArgForAssume (PR #109880)

2024-09-24 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Vitaly Buka (vitalybuka) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/109880.diff 3 Files Affected: - (modified) clang/lib/CodeGen/CGBuiltin.cpp (+21-12) - (modified) clang/lib/CodeGen/CGStmt.cpp (+1-2) - (modifie

[llvm-branch-commits] [flang] [mlir] [MLIR][OpenMP] Use map format to represent use_device_{addr, ptr} (PR #109810)

2024-09-24 Thread Sergio Afonso via llvm-branch-commits
https://github.com/skatrak created https://github.com/llvm/llvm-project/pull/109810 This patch updates the `omp.target_data` operation to use the same formatting as `map` clauses on `omp.target` for `use_device_addr` and `use_device_ptr`. This is done so the mapping that is being enforced betw

[llvm-branch-commits] [mlir] [MLIR][OpenMP] Document entry block argument-defining clauses (NFC) (PR #109811)

2024-09-24 Thread Sergio Afonso via llvm-branch-commits
https://github.com/skatrak created https://github.com/llvm/llvm-project/pull/109811 This patch adds general information on the proposed approach to unify the handling and representation of clauses that define entry block arguments attached to operations that accept them. >From 5849d2548655542

[llvm-branch-commits] [flang] [mlir] [MLIR][OpenMP] Normalize representation of entry block arg-defining clauses (PR #109809)

2024-09-24 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-flang-fir-hlfir Author: Sergio Afonso (skatrak) Changes This patch updates printing and parsing of operations including clauses that define entry block arguments to the operation's region. This impacts `in_reduction`, `map`, `private`, `reduction` and

[llvm-branch-commits] [flang] [mlir] [MLIR][OpenMP] Normalize representation of entry block arg-defining clauses (PR #109809)

2024-09-24 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-mlir Author: Sergio Afonso (skatrak) Changes This patch updates printing and parsing of operations including clauses that define entry block arguments to the operation's region. This impacts `in_reduction`, `map`, `private`, `reduction` and `task_reduc

[llvm-branch-commits] [flang] [mlir] [MLIR][OpenMP] Use map format to represent use_device_{addr, ptr} (PR #109810)

2024-09-24 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-mlir-openmp Author: Sergio Afonso (skatrak) Changes This patch updates the `omp.target_data` operation to use the same formatting as `map` clauses on `omp.target` for `use_device_addr` and `use_device_ptr`. This is done so the mapping that is being enf

[llvm-branch-commits] [mlir] [MLIR][OpenMP] Document entry block argument-defining clauses (NFC) (PR #109811)

2024-09-24 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-mlir Author: Sergio Afonso (skatrak) Changes This patch adds general information on the proposed approach to unify the handling and representation of clauses that define entry block arguments attached to operations that accept them. --- Full diff: htt

[llvm-branch-commits] [clang] release/19.x: [C++20] [Modules] Treat in class defined member functions in language linkage as implicitly inline (PR #109077)

2024-09-24 Thread Tobias Hieta via llvm-branch-commits
tru wrote: Seems that way - I will revert this. https://github.com/llvm/llvm-project/pull/109077 ___ 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/19.x: [C++20] [Modules] Treat in class defined member functions in language linkage as implicitly inline (PR #109077)

2024-09-24 Thread Chuanqi Xu via llvm-branch-commits
ChuanqiXu9 wrote: > If you can put up another patch I'll just wait with reverting. trying : ) https://github.com/llvm/llvm-project/pull/109077 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailm

[llvm-branch-commits] [clang] release/19.x: [C++20] [Modules] Treat in class defined member functions in language linkage as implicitly inline (PR #109077)

2024-09-24 Thread Tobias Hieta via llvm-branch-commits
tru wrote: If you can put up another patch I'll just wait with reverting. https://github.com/llvm/llvm-project/pull/109077 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bra

[llvm-branch-commits] [clang] release/19.x: [C++20] [Modules] Treat in class defined member functions in language linkage as implicitly inline (PR #109077)

2024-09-24 Thread Sylvestre Ledru via llvm-branch-commits
sylvestre wrote: Seems it doesn't build: https://github.com/llvm/llvm-project/pull/109077/files https://github.com/llvm/llvm-project/pull/109077 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mail

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

2024-09-24 Thread Nikita Popov via llvm-branch-commits
nikic wrote: fp16 support is generally quite broken outside of a few targets -- from a Rust perspective, we'd prefer full support in LLVM 20 rather than backporting things piecemeal to LLVM 19. Especially if it's going to change the ABI, which I think means we'd need LLVM-patch-version-specifi

[llvm-branch-commits] [llvm] [ADT] Add more useful methods to SmallSet API (PR #108601)

2024-09-24 Thread Jakub Kuderski via llvm-branch-commits
https://github.com/kuhar edited https://github.com/llvm/llvm-project/pull/108601 ___ 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] [ADT] Add more useful methods to SmallSet API (PR #108601)

2024-09-24 Thread Jakub Kuderski via llvm-branch-commits
@@ -147,6 +148,22 @@ class SmallSet { using const_iterator = SmallSetIterator; SmallSet() = default; + SmallSet(const SmallSet &) = default; + SmallSet(SmallSet &&) = default; + + template SmallSet(IterT Begin, IterT End) { +insert(Begin, End); + } + + template

[llvm-branch-commits] [llvm] [ADT] Add more useful methods to SmallSet API (PR #108601)

2024-09-24 Thread Jakub Kuderski via llvm-branch-commits
https://github.com/kuhar approved this pull request. LGTM https://github.com/llvm/llvm-project/pull/108601 ___ 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] [hwasan] Add "-hwasan-with-frame-record" (PR #109620)

2024-09-24 Thread Florian Mayer via llvm-branch-commits
https://github.com/fmayer edited https://github.com/llvm/llvm-project/pull/109620 ___ 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] [hwasan] Add "-hwasan-with-frame-record" (PR #109620)

2024-09-24 Thread Florian Mayer via llvm-branch-commits
@@ -1935,12 +1940,12 @@ void HWAddressSanitizer::ShadowMapping::init(Triple &TargetTriple, SetFixed(0); } else if (ClMappingOffset.getNumOccurrences() > 0) { SetFixed(ClMappingOffset); -WithFrameRecord = false; } else if (ClEnableKhwasan || InstrumentWithCalls

[llvm-branch-commits] [hwasan] Consider order of mapping copts (PR #109621)

2024-09-24 Thread Vitaly Buka via llvm-branch-commits
https://github.com/vitalybuka updated https://github.com/llvm/llvm-project/pull/109621 ___ 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] [hwasan] Consider order of mapping copts (PR #109621)

2024-09-24 Thread Vitaly Buka via llvm-branch-commits
https://github.com/vitalybuka updated https://github.com/llvm/llvm-project/pull/109621 ___ 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] Extract EmitCheckedArgForAssume (PR #109880)

2024-09-24 Thread Vitaly Buka via llvm-branch-commits
https://github.com/vitalybuka converted_to_draft https://github.com/llvm/llvm-project/pull/109880 ___ 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] cf31625 - Revert "[clang][CodeGen] Zero init unspecified fields in initializers in C (#…"

2024-09-24 Thread via llvm-branch-commits
Author: Eli Friedman Date: 2024-09-24T20:21:42-07:00 New Revision: cf31625ebefd05e8ca07f6f6b664d9a5bee9cd0f URL: https://github.com/llvm/llvm-project/commit/cf31625ebefd05e8ca07f6f6b664d9a5bee9cd0f DIFF: https://github.com/llvm/llvm-project/commit/cf31625ebefd05e8ca07f6f6b664d9a5bee9cd0f.diff

[llvm-branch-commits] [hwasan] Add "-hwasan-with-frame-record" (PR #109620)

2024-09-24 Thread Vitaly Buka via llvm-branch-commits
https://github.com/vitalybuka edited https://github.com/llvm/llvm-project/pull/109620 ___ 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/19.x: [clang-scan-deps] Don't inspect Args[0] as an option (#109050) (PR #109865)

2024-09-24 Thread Martin Storsjö via llvm-branch-commits
mstorsjo wrote: Admittedly, these changes aren't regression fixes, but fixes using clang-scan-deps without requiring a wrapper script in certain distribution setups. The changes are somewhat small and localized, and have been cooking in git main for a couple weeks now soon, without any compla

[llvm-branch-commits] Extract EmitCheckedArgForAssume (PR #109880)

2024-09-24 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 4cef51a82570188afadf4b0b3836c67a4bf513e1 6a7134c2619bca5bcf47b3674efe169e67b7c1b0 --e

[llvm-branch-commits] Extract EmitCheckedArgForAssume (PR #109880)

2024-09-24 Thread Vitaly Buka via llvm-branch-commits
https://github.com/vitalybuka created https://github.com/llvm/llvm-project/pull/109880 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] [hwasan] Add "-hwasan-with-frame-record" (PR #109620)

2024-09-24 Thread Vitaly Buka via llvm-branch-commits
https://github.com/vitalybuka closed https://github.com/llvm/llvm-project/pull/109620 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [libcxx] [libc++] Adjust the version of __cpp_lib_ranges in C++20 mode (PR #109324)

2024-09-24 Thread A. Jiang via llvm-branch-commits
frederick-vs-ja wrote: I guess 6f6422f4a2b8647a59936c131e50a79906d89510 and cdd608b8f0ce090b3568238387df368751bdbb5d should also be cherry-picked. @tru @ldionne https://github.com/llvm/llvm-project/pull/109324 ___ llvm-branch-commits mailing list ll

[llvm-branch-commits] [hwasan] Add "-hwasan-with-frame-record" (PR #109620)

2024-09-24 Thread Florian Mayer via llvm-branch-commits
https://github.com/fmayer approved this pull request. https://github.com/llvm/llvm-project/pull/109620 ___ 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] [C++20] [Modules] Add Decl::isFromGlobalModule (PR #109762)

2024-09-24 Thread Tobias Hieta via llvm-branch-commits
https://github.com/tru milestoned https://github.com/llvm/llvm-project/pull/109762 ___ 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] [ADT] Use perfect forwarding in SmallSet::insert() (PR #108590)

2024-09-24 Thread Victor Campos via llvm-branch-commits
https://github.com/vhscampos updated https://github.com/llvm/llvm-project/pull/108590 >From 964abdd8e2c5d9089b831ad242452cb83605db3a Mon Sep 17 00:00:00 2001 From: Victor Campos Date: Fri, 9 Aug 2024 13:57:42 +0100 Subject: [PATCH 1/3] [ADT] Use perfect forwarding in SmallSet::insert() Previou

[llvm-branch-commits] [llvm] [ADT] Add more useful methods to SmallSet API (PR #108601)

2024-09-24 Thread Victor Campos via llvm-branch-commits
https://github.com/vhscampos updated https://github.com/llvm/llvm-project/pull/108601 >From 12b657a4761351d52fccb93ce52e64c3c1b1e91f Mon Sep 17 00:00:00 2001 From: Victor Campos Date: Fri, 9 Aug 2024 14:00:32 +0100 Subject: [PATCH] [ADT] Add more useful methods to SmallSet API This patch adds

[llvm-branch-commits] [llvm] release/19.x: [X86][APX] Fix wrong encoding of promoted KMOV instructions due to missing NoCD8 (#109759) (PR #109767)

2024-09-24 Thread Shengchen Kan via llvm-branch-commits
KanRobert wrote: > @KanRobert @KanRobert What do you think about merging this PR to the release > branch? LGTM https://github.com/llvm/llvm-project/pull/109767 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm

[llvm-branch-commits] [llvm] release/19.x: [X86][APX] Fix wrong encoding of promoted KMOV instructions due to missing NoCD8 (#109759) (PR #109767)

2024-09-24 Thread Shengchen Kan via llvm-branch-commits
https://github.com/KanRobert approved this pull request. https://github.com/llvm/llvm-project/pull/109767 ___ 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: [X86][APX] Fix wrong encoding of promoted KMOV instructions due to missing NoCD8 (#109759) (PR #109767)

2024-09-24 Thread Phoebe Wang via llvm-branch-commits
https://github.com/phoebewang edited https://github.com/llvm/llvm-project/pull/109767 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

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

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

[llvm-branch-commits] [llvm] [Inliner][Backport] Fix bug where attributes are propagated incorrectly (#109347) (PR #109502)

2024-09-24 Thread via llvm-branch-commits
github-actions[bot] wrote: @goldsteinn (or anyone else). If you would like to add a note about this fix in the release notes (completely optional). Please reply to this comment with a one or two sentence description of the fix. When you are done, please add the release:note label to this PR.

[llvm-branch-commits] [llvm] [X86][APX] Fix wrong encoding of promoted KMOV instructions due to missing NoCD8 (#109579) (PR #109635)

2024-09-24 Thread Phoebe Wang via llvm-branch-commits
phoebewang wrote: Sorry, there was a mistake with the patch. I'll close it and create another one. https://github.com/llvm/llvm-project/pull/109635 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/m

[llvm-branch-commits] [llvm] [X86][APX] Fix wrong encoding of promoted KMOV instructions due to missing NoCD8 (#109579) (PR #109635)

2024-09-24 Thread Phoebe Wang via llvm-branch-commits
https://github.com/phoebewang closed https://github.com/llvm/llvm-project/pull/109635 ___ 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/19.x: workflows/release-binaries: Enable flang builds on Windows (#101344) (PR #106480)

2024-09-24 Thread via llvm-branch-commits
github-actions[bot] wrote: @tstellar (or anyone else). If you would like to add a note about this fix in the release notes (completely optional). Please reply to this comment with a one or two sentence description of the fix. When you are done, please add the release:note label to this PR.

[llvm-branch-commits] [clang] [C++20] [Modules] Add Decl::isFromGlobalModule (PR #109762)

2024-09-24 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Chuanqi Xu (ChuanqiXu9) Changes Close https://github.com/llvm/llvm-project/issues/109758 --- Full diff: https://github.com/llvm/llvm-project/pull/109762.diff 2 Files Affected: - (modified) clang/include/clang/AST/DeclBase.h (+3) - (mod

[llvm-branch-commits] [clang] [C++20] [Modules] Add Decl::isFromGlobalModule (PR #109762)

2024-09-24 Thread Chuanqi Xu via llvm-branch-commits
https://github.com/ChuanqiXu9 updated https://github.com/llvm/llvm-project/pull/109762 >From 4c51d827e58aaa8c5b3d75b3b61a43627ab53491 Mon Sep 17 00:00:00 2001 From: Chuanqi Xu Date: Tue, 24 Sep 2024 15:37:02 +0800 Subject: [PATCH] [C++20] [Modules] Add Decl::isFromGlobalModule --- clang/inclu

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

2024-09-24 Thread Matt Arsenault via llvm-branch-commits
arsenm wrote: This patch is fixing the stated issue in a roundabout way. You do not need to change the ABI or half promotion strategy just to support freeze on half values https://github.com/llvm/llvm-project/pull/109093 ___ llvm-branch-commits maili

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

2024-09-24 Thread Chuanqi Xu via llvm-branch-commits
ChuanqiXu9 wrote: @ilya-biryukov thanks for the high quality reproducer! I've reproduced it and fixed it in the newest commit. The root cause of the failure is the same with the last time: merging specializations with the same key. The previous fix is not clear since, I just found, the underl

[llvm-branch-commits] [llvm] release/19.x: [X86][APX] Do not emit {evex} prefix for memory variant (#109759) (PR #109767)

2024-09-24 Thread via llvm-branch-commits
https://github.com/llvmbot milestoned https://github.com/llvm/llvm-project/pull/109767 ___ 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: [X86][APX] Do not emit {evex} prefix for memory variant (#109759) (PR #109767)

2024-09-24 Thread via llvm-branch-commits
https://github.com/llvmbot created https://github.com/llvm/llvm-project/pull/109767 Backport 0d334d83a4c7ce16fa1bc0e5e56bbdeaf01c2b2d 70529b24a30943d46e361d2990268499921e28a2 Requested by: @phoebewang >From 0ab42b366ccb2650cd292bd8f101f22ff29d9f6e Mon Sep 17 00:00:00 2001 From: Phoebe Wang D

[llvm-branch-commits] [llvm] release/19.x: [X86][APX] Do not emit {evex} prefix for memory variant (#109759) (PR #109767)

2024-09-24 Thread via llvm-branch-commits
llvmbot wrote: @KanRobert @KanRobert What do you think about merging this PR to the release branch? https://github.com/llvm/llvm-project/pull/109767 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin

[llvm-branch-commits] [llvm] release/19.x: [X86][APX] Do not emit {evex} prefix for memory variant (#109759) (PR #109767)

2024-09-24 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-mc Author: None (llvmbot) Changes Backport 0d334d83a4c7ce16fa1bc0e5e56bbdeaf01c2b2d 70529b24a30943d46e361d2990268499921e28a2 Requested by: @phoebewang --- Full diff: https://github.com/llvm/llvm-project/pull/109767.diff 4 Files Affected: - (modifie

[llvm-branch-commits] [clang] release/19.x: [C++20] [Modules] Treat in class defined member functions in language linkage as implicitly inline (PR #109077)

2024-09-24 Thread Chuanqi Xu via llvm-branch-commits
ChuanqiXu9 wrote: Oh, maybe some implicit conflicts. I'll add one manually https://github.com/llvm/llvm-project/pull/109077 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bra

[llvm-branch-commits] [clang] [C++20] [Modules] Add Decl::isFromGlobalModule (PR #109762)

2024-09-24 Thread Tobias Hieta via llvm-branch-commits
https://github.com/tru closed https://github.com/llvm/llvm-project/pull/109762 ___ 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] [C++20] [Modules] Add Decl::isFromGlobalModule (PR #109762)

2024-09-24 Thread Tobias Hieta via llvm-branch-commits
tru wrote: Thanks for the quick fix. https://github.com/llvm/llvm-project/pull/109762 ___ 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] 4c51d82 - [C++20] [Modules] Add Decl::isFromGlobalModule

2024-09-24 Thread Chuanqi Xu via llvm-branch-commits
Author: Chuanqi Xu Date: 2024-09-24T15:41:11+08:00 New Revision: 4c51d827e58aaa8c5b3d75b3b61a43627ab53491 URL: https://github.com/llvm/llvm-project/commit/4c51d827e58aaa8c5b3d75b3b61a43627ab53491 DIFF: https://github.com/llvm/llvm-project/commit/4c51d827e58aaa8c5b3d75b3b61a43627ab53491.diff LO

[llvm-branch-commits] [clang] [C++20] [Modules] Add Decl::isFromGlobalModule (PR #109762)

2024-09-24 Thread via llvm-branch-commits
github-actions[bot] wrote: @ChuanqiXu9 (or anyone else). If you would like to add a note about this fix in the release notes (completely optional). Please reply to this comment with a one or two sentence description of the fix. When you are done, please add the release:note label to this PR.

[llvm-branch-commits] [llvm] [ADT] Add more useful methods to SmallSet API (PR #108601)

2024-09-24 Thread Victor Campos via llvm-branch-commits
https://github.com/vhscampos updated https://github.com/llvm/llvm-project/pull/108601 >From 12b657a4761351d52fccb93ce52e64c3c1b1e91f Mon Sep 17 00:00:00 2001 From: Victor Campos Date: Fri, 9 Aug 2024 14:00:32 +0100 Subject: [PATCH 1/2] [ADT] Add more useful methods to SmallSet API This patch a

[llvm-branch-commits] [hwasan] Add "-hwasan-with-frame-record" (PR #109620)

2024-09-24 Thread Vitaly Buka via llvm-branch-commits
@@ -1935,12 +1940,12 @@ void HWAddressSanitizer::ShadowMapping::init(Triple &TargetTriple, SetFixed(0); } else if (ClMappingOffset.getNumOccurrences() > 0) { SetFixed(ClMappingOffset); -WithFrameRecord = false; } else if (ClEnableKhwasan || InstrumentWithCalls

[llvm-branch-commits] [hwasan] Add "-hwasan-with-frame-record" (PR #109620)

2024-09-24 Thread Florian Mayer via llvm-branch-commits
https://github.com/fmayer edited https://github.com/llvm/llvm-project/pull/109620 ___ 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] [hwasan] Add "-hwasan-with-frame-record" (PR #109620)

2024-09-24 Thread Florian Mayer via llvm-branch-commits
@@ -1935,12 +1940,12 @@ void HWAddressSanitizer::ShadowMapping::init(Triple &TargetTriple, SetFixed(0); } else if (ClMappingOffset.getNumOccurrences() > 0) { SetFixed(ClMappingOffset); -WithFrameRecord = false; } else if (ClEnableKhwasan || InstrumentWithCalls

[llvm-branch-commits] [hwasan] Add "-hwasan-with-frame-record" (PR #109620)

2024-09-24 Thread Vitaly Buka via llvm-branch-commits
@@ -1935,12 +1940,12 @@ void HWAddressSanitizer::ShadowMapping::init(Triple &TargetTriple, SetFixed(0); } else if (ClMappingOffset.getNumOccurrences() > 0) { SetFixed(ClMappingOffset); -WithFrameRecord = false; } else if (ClEnableKhwasan || InstrumentWithCalls

[llvm-branch-commits] [hwasan] Consider order of mapping copts (PR #109621)

2024-09-24 Thread Florian Mayer via llvm-branch-commits
https://github.com/fmayer approved this pull request. LGTM. https://github.com/llvm/llvm-project/pull/109621 ___ 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] [hwasan] Add "-hwasan-with-frame-record" (PR #109620)

2024-09-24 Thread Florian Mayer via llvm-branch-commits
@@ -1935,12 +1940,12 @@ void HWAddressSanitizer::ShadowMapping::init(Triple &TargetTriple, SetFixed(0); } else if (ClMappingOffset.getNumOccurrences() > 0) { SetFixed(ClMappingOffset); -WithFrameRecord = false; } else if (ClEnableKhwasan || InstrumentWithCalls

[llvm-branch-commits] [mlir] [MLIR][OpenMP] Document entry block argument-defining clauses (NFC) (PR #109811)

2024-09-24 Thread Sergio Afonso via llvm-branch-commits
skatrak wrote: PR stack: - #109808 - #109809 - #109810 - #109811 https://github.com/llvm/llvm-project/pull/109811 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commit

[llvm-branch-commits] [flang] [mlir] [MLIR][OpenMP] Normalize representation of entry block arg-defining clauses (PR #109809)

2024-09-24 Thread Sergio Afonso via llvm-branch-commits
skatrak wrote: PR stack: - #109808 - #109809 - #109810 - #109811 https://github.com/llvm/llvm-project/pull/109809 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commit

[llvm-branch-commits] [flang] [mlir] [MLIR][OpenMP] Use map format to represent use_device_{addr, ptr} (PR #109810)

2024-09-24 Thread Sergio Afonso via llvm-branch-commits
skatrak wrote: PR stack: - #109808 - #109809 - #109810 - #109811 https://github.com/llvm/llvm-project/pull/109810 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commit

[llvm-branch-commits] [llvm] 41f3483 - Revert "[DirectX] Add atan2 intrinsic and expand for DXIL backend (p1) (#108865)"

2024-09-24 Thread via llvm-branch-commits
Author: Farzon Lotfi Date: 2024-09-24T14:09:51-04:00 New Revision: 41f348332ec7d34bb5c1425e71fcfc90ecfc1470 URL: https://github.com/llvm/llvm-project/commit/41f348332ec7d34bb5c1425e71fcfc90ecfc1470 DIFF: https://github.com/llvm/llvm-project/commit/41f348332ec7d34bb5c1425e71fcfc90ecfc1470.diff

[llvm-branch-commits] [llvm] [ADT] Add more useful methods to SmallSet API (PR #108601)

2024-09-24 Thread Jakub Kuderski via llvm-branch-commits
@@ -17,6 +17,66 @@ using namespace llvm; +TEST(SmallSetTest, ConstructorIteratorPair) { + auto L = {1, 2, 3, 4, 5}; + SmallSet S(std::begin(L), std::end(L)); + for (int Value : L) +EXPECT_TRUE(S.contains(Value)); kuhar wrote: You can also do `EXPECT_T

[llvm-branch-commits] [llvm] [ADT] Add more useful methods to SmallSet API (PR #108601)

2024-09-24 Thread Jakub Kuderski via llvm-branch-commits
@@ -147,6 +148,22 @@ class SmallSet { using const_iterator = SmallSetIterator; SmallSet() = default; + SmallSet(const SmallSet &) = default; + SmallSet(SmallSet &&) = default; + + template SmallSet(IterT Begin, IterT End) { +this->insert(Begin, End); + } + + temp

[llvm-branch-commits] [llvm] [ADT] Add more useful methods to SmallSet API (PR #108601)

2024-09-24 Thread Jakub Kuderski via llvm-branch-commits
@@ -17,6 +17,66 @@ using namespace llvm; +TEST(SmallSetTest, ConstructorIteratorPair) { + auto L = {1, 2, 3, 4, 5}; kuhar wrote: Could you make the type explicit, both here and everywhere else below. Either initializer list or some other vector type is fin

[llvm-branch-commits] [clang] release/19.x: [clang-scan-deps] Don't inspect Args[0] as an option (#109050) (PR #109865)

2024-09-24 Thread via llvm-branch-commits
Martin =?utf-8?q?Storsjö?= , Martin =?utf-8?q?Storsjö?= , Martin =?utf-8?q?Storsjö?= Message-ID: In-Reply-To: https://github.com/llvmbot milestoned https://github.com/llvm/llvm-project/pull/109865 ___ llvm-branch-commits mailing list llvm-branch-comm

[llvm-branch-commits] [clang] release/19.x: [clang-scan-deps] Don't inspect Args[0] as an option (#109050) (PR #109865)

2024-09-24 Thread via llvm-branch-commits
Martin =?utf-8?q?Storsjö?= , Martin =?utf-8?q?Storsjö?= , Martin =?utf-8?q?Storsjö?= Message-ID: In-Reply-To: https://github.com/llvmbot created https://github.com/llvm/llvm-project/pull/109865 Backport 87e1104cf0e2de0d04bee2944893fa7897277b2f aa3465793a250faa5426ac626989375465256658 a26ec5

[llvm-branch-commits] [clang] release/19.x: [clang-scan-deps] Don't inspect Args[0] as an option (#109050) (PR #109865)

2024-09-24 Thread via llvm-branch-commits
Martin =?utf-8?q?Storsjö?= , Martin =?utf-8?q?Storsjö?= , Martin =?utf-8?q?Storsjö?= Message-ID: In-Reply-To: llvmbot wrote: @jansvoboda11 @jansvoboda11 @jansvoboda11 What do you think about merging this PR to the release branch? https://github.com/llvm/llvm-project/pull/109865 _

[llvm-branch-commits] [clang] release/19.x: [clang-scan-deps] Don't inspect Args[0] as an option (#109050) (PR #109865)

2024-09-24 Thread via llvm-branch-commits
Martin =?utf-8?q?Storsjö?= , Martin =?utf-8?q?Storsjö?= , Martin =?utf-8?q?Storsjö?= Message-ID: In-Reply-To: llvmbot wrote: @llvm/pr-subscribers-clang Author: None (llvmbot) Changes Backport 87e1104cf0e2de0d04bee2944893fa7897277b2f aa3465793a250faa5426ac626989375465256658 a26ec542371

[llvm-branch-commits] [llvm] [Attributor] Take the address space from addrspacecast directly (PR #108258)

2024-09-24 Thread Shilei Tian via llvm-branch-commits
@@ -12571,17 +12571,59 @@ struct AAAddressSpaceImpl : public AAAddressSpace { void initialize(Attributor &A) override { assert(getAssociatedType()->isPtrOrPtrVectorTy() && "Associated value is not a pointer"); -if (getAssociatedType()->getPointerAddressSpac

[llvm-branch-commits] [llvm] release/19.x: [ORC] Remove EDU from dependants list of dependencies before destroying. (PR #109355)

2024-09-24 Thread via llvm-branch-commits
github-actions[bot] wrote: @lhames (or anyone else). If you would like to add a note about this fix in the release notes (completely optional). Please reply to this comment with a one or two sentence description of the fix. When you are done, please add the release:note label to this PR. ht

[llvm-branch-commits] [llvm] [Attributor] Take the address space from addrspacecast directly (PR #108258)

2024-09-24 Thread Shilei Tian via llvm-branch-commits
https://github.com/shiltian deleted https://github.com/llvm/llvm-project/pull/108258 ___ 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: [LoongArch] Fix the assertion for atomic store with 'ptr' type (PR #109915)

2024-09-24 Thread Lu Weining via llvm-branch-commits
https://github.com/SixWeining approved this pull request. https://github.com/llvm/llvm-project/pull/109915 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits