[llvm-branch-commits] [llvm] [ir] MD_prof is not UB-implying (PR #152420)

2025-08-11 Thread Mircea Trofin via llvm-branch-commits
@@ -1678,6 +1680,8 @@ void Instruction::dropUnknownNonDebugMetadata(ArrayRef KnownIDs) { // A DIAssignID attachment is debug metadata, don't drop it. KnownSet.insert(LLVMContext::MD_DIAssignID); + if (!ProfcheckDisableMetadataFixes) +KnownSet.insert(LLVMContext::MD_p

[llvm-branch-commits] [flang] [flang][Evaluate] Implement rewriting framework for evaluate::Expr (PR #153037)

2025-08-11 Thread Krzysztof Parzyszek via llvm-branch-commits
https://github.com/kparzysz created https://github.com/llvm/llvm-project/pull/153037 The structure of evaluate::Expr is highly customized for the specific operation or entity that it represents. The different cases are expressed with different types, which makes the traversal and modifications

[llvm-branch-commits] [flang] [flang][Evaluate] Pattern matching framework for evaluate::Expr (PR #153042)

2025-08-11 Thread Tom Eccles via llvm-branch-commits
https://github.com/tblah commented: This looks good at a glance, but I think we do need some upstream use for this before merging. Or at least a way of testing it. https://github.com/llvm/llvm-project/pull/153042 ___ llvm-branch-commits mailing list l

[llvm-branch-commits] [flang] [flang][OpenMP] Move rewriting of min/max from Lower to Semantics (PR #153038)

2025-08-11 Thread Tom Eccles via llvm-branch-commits
https://github.com/tblah commented: Is this still tested by the old tests for the rewriting in flang/Lower? https://github.com/llvm/llvm-project/pull/153038 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/

[llvm-branch-commits] [clang] release/21.x: [CMake][Release] Build with -ffat-lto-objects (#140381) (PR #151245)

2025-08-11 Thread Tom Stellard via llvm-branch-commits
https://github.com/tstellar updated https://github.com/llvm/llvm-project/pull/151245 >From ab1d1813b343c6f274beec751bcfef3b8e75ba7b Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Tue, 29 Jul 2025 15:33:49 -0700 Subject: [PATCH] [CMake][Release] Build with -ffat-lto-objects (#140381) Fixes #

[llvm-branch-commits] [clang] [HLSL] Global resource arrays element access (PR #152454)

2025-08-11 Thread Helena Kotas via llvm-branch-commits
@@ -0,0 +1,59 @@ +// RUN: %clang_cc1 -triple dxil-pc-shadermodel6.6-compute -finclude-default-header \ +// RUN: -emit-llvm -disable-llvm-passes -o - %s | FileCheck %s -check-prefixes=CHECK,DXIL +// RUN: %clang_cc1 -finclude-default-header -triple spirv-unknown-vulkan-compute

[llvm-branch-commits] [llvm] fc9d5f2 - Revert "[DFAJumpThreading] Prevent pass from using too much memory. (#145482)"

2025-08-11 Thread via llvm-branch-commits
Author: XChy Date: 2025-08-12T03:52:37+08:00 New Revision: fc9d5f29201e54017e88593102f81d3019fd61e6 URL: https://github.com/llvm/llvm-project/commit/fc9d5f29201e54017e88593102f81d3019fd61e6 DIFF: https://github.com/llvm/llvm-project/commit/fc9d5f29201e54017e88593102f81d3019fd61e6.diff LOG: Rev

[llvm-branch-commits] [llvm] [NFC][IR2Vec] Add missed ptrtoaddr in vocab for tests (PR #153094)

2025-08-11 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 approved this pull request. This wasn't missed. It's new (patch landed last week I think). Either way, LGTM. https://github.com/llvm/llvm-project/pull/153094 ___ llvm-branch-commits mailing list llvm-branch-commits@li

[llvm-branch-commits] Add IR and codegen support for deactivation symbols. (PR #133536)

2025-08-11 Thread Peter Collingbourne via llvm-branch-commits
pcc wrote: #133534 landed, now unblocked. https://github.com/llvm/llvm-project/pull/133536 ___ 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] [SelectionDAGBuilder] Use address width when lowering ptrtoaddr (PR #139423)

2025-08-11 Thread Matt Arsenault via llvm-branch-commits
@@ -3980,8 +3980,16 @@ void SelectionDAGBuilder::visitSIToFP(const User &I) { } void SelectionDAGBuilder::visitPtrToAddr(const User &I) { - // FIXME: this is not correct for pointers with addr width != pointer width - visitPtrToInt(I); + const auto &TLI = DAG.getTargetLower

[llvm-branch-commits] [llvm] [SelectionDAGBuilder] Use address width when lowering ptrtoaddr (PR #139423)

2025-08-11 Thread Matt Arsenault via llvm-branch-commits
@@ -3980,8 +3980,16 @@ void SelectionDAGBuilder::visitSIToFP(const User &I) { } void SelectionDAGBuilder::visitPtrToAddr(const User &I) { - // FIXME: this is not correct for pointers with addr width != pointer width - visitPtrToInt(I); + const auto &TLI = DAG.getTargetLower

[llvm-branch-commits] [llvm] [SelectionDAGBuilder] Use address width when lowering ptrtoaddr (PR #139423)

2025-08-11 Thread Matt Arsenault via llvm-branch-commits
@@ -3980,8 +3980,16 @@ void SelectionDAGBuilder::visitSIToFP(const User &I) { } void SelectionDAGBuilder::visitPtrToAddr(const User &I) { - // FIXME: this is not correct for pointers with addr width != pointer width - visitPtrToInt(I); + const auto &TLI = DAG.getTargetLower

[llvm-branch-commits] [llvm] [SelectionDAGBuilder] Use address width when lowering ptrtoaddr (PR #139423)

2025-08-11 Thread Nikita Popov via llvm-branch-commits
https://github.com/nikic approved this pull request. https://github.com/llvm/llvm-project/pull/139423 ___ 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] [NFC][IR2Vec] Add missed ptrtoaddr in vocab for tests (PR #153094)

2025-08-11 Thread S. VenkataKeerthy via llvm-branch-commits
https://github.com/svkeerthy created https://github.com/llvm/llvm-project/pull/153094 None >From 265222ba5b20cc32ae3f9fc9affc42a9bd06cce5 Mon Sep 17 00:00:00 2001 From: svkeerthy Date: Mon, 11 Aug 2025 21:52:27 + Subject: [PATCH] [NFC][IR2Vec] Add missed ptrtoaddr in vocab for tests ---

[llvm-branch-commits] [llvm] [NFC][IR2Vec] Add missed ptrtoaddr in vocab for tests (PR #153094)

2025-08-11 Thread S. VenkataKeerthy via llvm-branch-commits
svkeerthy wrote: > [!WARNING] > This pull request is not mergeable via GitHub because a downstack PR is > open. Once all requirements are satisfied, merge this PR as a stack href="https://app.graphite.dev/github/pr/llvm/llvm-project/153094?utm_source=stack-comment-downstack-mergeability-warning

[llvm-branch-commits] [llvm] release/21.x: [TailDup] Delay aggressive computed-goto taildup to after RegAlloc. (#150911) (PR #151680)

2025-08-11 Thread Florian Hahn via llvm-branch-commits
fhahn wrote: > There was 9% runtime regression on a loop that just adds numbers (so that it > stresses this code path significantly). There was no measurable regression on > Ajla self-compilation (the difference is just 0.8% - which may be jitter). Thanks for clarifying! The regression seems

[llvm-branch-commits] [llvm] release/21.x: [TailDup] Delay aggressive computed-goto taildup to after RegAlloc. (#150911) (PR #151680)

2025-08-11 Thread Tobias Hieta via llvm-branch-commits
tru wrote: @RKSimon @phoebewang Since this is related to the X86 backend. What do you think about this PR or maybe if we should revert #150911 ? https://github.com/llvm/llvm-project/pull/151680 ___ llvm-branch-commits mailing list llvm-branch-commits@

[llvm-branch-commits] [libcxx] release/21.x: [libc++] Fix uses of non-empty transparent comparator in `` (#152624) (PR #152776)

2025-08-11 Thread Nikolas Klauser via llvm-branch-commits
https://github.com/philnik777 approved this pull request. https://github.com/llvm/llvm-project/pull/152776 ___ 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] [LoongArch] Implement isLegalAddressingMode for lsx/lasx (PR #151917)

2025-08-11 Thread via llvm-branch-commits
https://github.com/zhaoqi5 updated https://github.com/llvm/llvm-project/pull/151917 >From 47ba25174180491a40372a8d3fc4f7ed49a8f5f6 Mon Sep 17 00:00:00 2001 From: Qi Zhao Date: Mon, 28 Jul 2025 19:36:40 +0800 Subject: [PATCH 1/2] [LoongArch] Implement isLegalAddressingMode for lsx/lasx TODO: On

[llvm-branch-commits] [llvm] release/21.x: [GVN] Check IndirectBr in Predecessor Terminators (#151188) (PR #152965)

2025-08-11 Thread via llvm-branch-commits
llvmbot wrote: @marcauberer What do you think about merging this PR to the release branch? https://github.com/llvm/llvm-project/pull/152965 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/l

[llvm-branch-commits] [llvm] release/21.x: [GVN] Check IndirectBr in Predecessor Terminators (#151188) (PR #152965)

2025-08-11 Thread via llvm-branch-commits
https://github.com/llvmbot created https://github.com/llvm/llvm-project/pull/152965 Backport a750fcb52bbf0ec0dc2022f73b1d48a4d43d8a07 Requested by: @nikic >From 8ce687b56ad079a454ee211f3cda9deac8385b71 Mon Sep 17 00:00:00 2001 From: hanbeom Date: Mon, 11 Aug 2025 16:25:52 +0900 Subject: [PATC

[llvm-branch-commits] [llvm] release/21.x: [GVN] Check IndirectBr in Predecessor Terminators (#151188) (PR #152965)

2025-08-11 Thread via llvm-branch-commits
https://github.com/llvmbot milestoned https://github.com/llvm/llvm-project/pull/152965 ___ 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/21.x: [GVN] Check IndirectBr in Predecessor Terminators (#151188) (PR #152965)

2025-08-11 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-llvm-transforms Author: None (llvmbot) Changes Backport a750fcb52bbf0ec0dc2022f73b1d48a4d43d8a07 Requested by: @nikic --- Full diff: https://github.com/llvm/llvm-project/pull/152965.diff 2 Files Affected: - (modified) llvm/lib/Transforms/Utils/Break

[llvm-branch-commits] [llvm] release/21.x: [GVN] Check IndirectBr in Predecessor Terminators (#151188) (PR #152965)

2025-08-11 Thread Marc Auberer via llvm-branch-commits
https://github.com/marcauberer approved this pull request. https://github.com/llvm/llvm-project/pull/152965 ___ 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] [Dexter] add get_pc (PR #152719)

2025-08-11 Thread Stephen Tozer via llvm-branch-commits
@@ -233,6 +233,16 @@ def frames_below_main(self): def evaluate_expression(self, expression, frame_idx=0) -> ValueIR: pass +def get_pc(self, frame_idx: int = 0) -> str: +"""Get the current PC in frame at frame_idx depth. +frame_idx 0 is the curre

[llvm-branch-commits] [llvm] [AMDGPU][GISel] Only fold flat offsets if they are inbounds (PR #153001)

2025-08-11 Thread Fabian Ritter via llvm-branch-commits
https://github.com/ritter-x2a created https://github.com/llvm/llvm-project/pull/153001 For flat memory instructions where the address is supplied as a base address register with an immediate offset, the memory aperture test ignores the immediate offset. Currently, ISel does not respect that, whi

[llvm-branch-commits] [llvm] [AMDGPU][GISel] Only fold flat offsets if they are inbounds (PR #153001)

2025-08-11 Thread Fabian Ritter via llvm-branch-commits
ritter-x2a wrote: > [!WARNING] > This pull request is not mergeable via GitHub because a downstack PR is > open. Once all requirements are satisfied, merge this PR as a stack href="https://app.graphite.dev/github/pr/llvm/llvm-project/153001?utm_source=stack-comment-downstack-mergeability-warnin

[llvm-branch-commits] [llvm] [AMDGPU][GISel] Only fold flat offsets if they are inbounds (PR #153001)

2025-08-11 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-amdgpu Author: Fabian Ritter (ritter-x2a) Changes For flat memory instructions where the address is supplied as a base address register with an immediate offset, the memory aperture test ignores the immediate offset. Currently, ISel does not resp

[llvm-branch-commits] [llvm] [AMDGPU][GISel] Only fold flat offsets if they are inbounds (PR #153001)

2025-08-11 Thread Fabian Ritter via llvm-branch-commits
https://github.com/ritter-x2a ready_for_review https://github.com/llvm/llvm-project/pull/153001 ___ 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] [llvm-dis] Add --opaque-pointers option to control whether to output typed or opaque pointers (PR #153011)

2025-08-11 Thread Karol Zwolak via llvm-branch-commits
https://github.com/karolzwolak created https://github.com/llvm/llvm-project/pull/153011 This adds a flag to explicitly control whether to disassemble with the typed or opaque pointers syntax. Without this patch even bytecode with typed pointers outputs IR with opaque pointers. This option is e

[llvm-branch-commits] [llvm] [llvm-dis] Add --opaque-pointers option to control whether to output typed or opaque pointers (PR #153011)

2025-08-11 Thread via llvm-branch-commits
github-actions[bot] wrote: This repository does not accept pull requests. Please follow http://llvm.org/docs/Contributing.html#how-to-submit-a-patch for contribution to LLVM. https://github.com/llvm/llvm-project/pull/153011 ___ llvm-branch-commits ma

[llvm-branch-commits] [llvm] [llvm-dis] Add --opaque-pointers option to control whether to output typed or opaque pointers (PR #153011)

2025-08-11 Thread via llvm-branch-commits
https://github.com/github-actions[bot] closed https://github.com/llvm/llvm-project/pull/153011 ___ 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] [llvm-dis] Add --opaque-pointers option to control whether to output typed or opaque pointers (PR #153011)

2025-08-11 Thread via llvm-branch-commits
https://github.com/github-actions[bot] locked https://github.com/llvm/llvm-project/pull/153011 ___ 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: Introduce R_AARCH64_PATCHINST relocation type. (PR #133534)

2025-08-11 Thread Peter Smith via llvm-branch-commits
https://github.com/smithp35 approved this pull request. I've left my approval on the AArch64 side, the relocation id matches the ABI. I'm not a an official maintainer, so please leave a few days to see if @davemgreen has any objections. https://github.com/llvm/llvm-project/pull/133534

[llvm-branch-commits] [llvm] [Dexter] Add DexStepFunction and DexContinue skeletons (PR #152720)

2025-08-11 Thread Stephen Tozer via llvm-branch-commits
@@ -0,0 +1,38 @@ +# DExTer : Debugging Experience Tester +# ~~ ~ ~~ ~ ~~ +# +# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +# See https://llvm.org/LICENSE.txt for license information. +# SPDX-License-Identifier: Apache-2.0

[llvm-branch-commits] [llvm] [Dexter] Add DexStepFunction and DexContinue skeletons (PR #152720)

2025-08-11 Thread Stephen Tozer via llvm-branch-commits
@@ -0,0 +1,44 @@ +# DExTer : Debugging Experience Tester +# ~~ ~ ~~ ~ ~~ +# +# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +# See https://llvm.org/LICENSE.txt for license information. +# SPDX-License-Identifier: Apache-2.0

[llvm-branch-commits] [llvm] [Dexter] Add DexStepFunction and DexContinue skeletons (PR #152720)

2025-08-11 Thread Stephen Tozer via llvm-branch-commits
@@ -0,0 +1,44 @@ +# DExTer : Debugging Experience Tester +# ~~ ~ ~~ ~ ~~ +# +# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +# See https://llvm.org/LICENSE.txt for license information. +# SPDX-License-Identifier: Apache-2.0

[llvm-branch-commits] [llvm] [Dexter] Add DexStepFunction and DexContinue skeletons (PR #152720)

2025-08-11 Thread Stephen Tozer via llvm-branch-commits
@@ -0,0 +1,44 @@ +# DExTer : Debugging Experience Tester +# ~~ ~ ~~ ~ ~~ +# +# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +# See https://llvm.org/LICENSE.txt for license information. +# SPDX-License-Identifier: Apache-2.0

[llvm-branch-commits] [llvm] [Dexter] Add DexStepFunction and DexContinue skeletons (PR #152720)

2025-08-11 Thread Stephen Tozer via llvm-branch-commits
@@ -0,0 +1,38 @@ +# DExTer : Debugging Experience Tester +# ~~ ~ ~~ ~ ~~ +# +# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +# See https://llvm.org/LICENSE.txt for license information. +# SPDX-License-Identifier: Apache-2.0

[llvm-branch-commits] [llvm] [Dexter] Add DexStepFunction and DexContinue skeletons (PR #152720)

2025-08-11 Thread Stephen Tozer via llvm-branch-commits
@@ -377,3 +378,44 @@ line this command is found on. ### Heuristic [Deprecated] + + +--- +## DexStepFunction +DexStepFunction(function_name[, **hit_count=0]) + +Arg list: +function_name (str): function to step through. +hit_count (int): If provided, limi

[llvm-branch-commits] [llvm] [Dexter] Add DexStepFunction and DexContinue skeletons (PR #152720)

2025-08-11 Thread Stephen Tozer via llvm-branch-commits
https://github.com/SLTozer edited https://github.com/llvm/llvm-project/pull/152720 ___ 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] [Dexter] Add DexStepFunction and DexContinue skeletons (PR #152720)

2025-08-11 Thread Stephen Tozer via llvm-branch-commits
@@ -377,3 +378,44 @@ line this command is found on. ### Heuristic [Deprecated] + + +--- +## DexStepFunction +DexStepFunction(function_name[, **hit_count=0]) + +Arg list: +function_name (str): function to step through. +hit_count (int): If provided, limi

[llvm-branch-commits] [llvm] [Dexter] Add DexStepFunction and DexContinue skeletons (PR #152720)

2025-08-11 Thread Stephen Tozer via llvm-branch-commits
@@ -377,3 +378,44 @@ line this command is found on. ### Heuristic [Deprecated] + + +--- +## DexStepFunction +DexStepFunction(function_name[, **hit_count=0]) + +Arg list: +function_name (str): function to step through. +hit_count (int): If provided, limi

[llvm-branch-commits] [llvm] [Dexter] Add DexStepFunction and DexContinue skeletons (PR #152720)

2025-08-11 Thread Stephen Tozer via llvm-branch-commits
@@ -0,0 +1,44 @@ +# DExTer : Debugging Experience Tester +# ~~ ~ ~~ ~ ~~ +# +# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +# See https://llvm.org/LICENSE.txt for license information. +# SPDX-License-Identifier: Apache-2.0

[llvm-branch-commits] [llvm] [Dexter] Add DexStepFunction and DexContinue skeletons (PR #152720)

2025-08-11 Thread Stephen Tozer via llvm-branch-commits
https://github.com/SLTozer commented: Many small comments, but generally looks good. https://github.com/llvm/llvm-project/pull/152720 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinf

[llvm-branch-commits] [llvm] release/21.x: [SystemZ] Remove incorrect areInlineCompatible hook (#152494) (PR #152660)

2025-08-11 Thread Tobias Hieta via llvm-branch-commits
https://github.com/tru updated https://github.com/llvm/llvm-project/pull/152660 >From 7be867f19d05bd93a1d032124ab6f2703d31ab90 Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Fri, 8 Aug 2025 10:06:19 +0200 Subject: [PATCH] [SystemZ] Remove incorrect areInlineCompatible hook (#152494) This rev

[llvm-branch-commits] [llvm] release/21.x: [SystemZ] Remove incorrect areInlineCompatible hook (#152494) (PR #152660)

2025-08-11 Thread Tobias Hieta via llvm-branch-commits
https://github.com/tru closed https://github.com/llvm/llvm-project/pull/152660 ___ 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] ba87d05 - [AVR] Fix codegen after getConstant assertions got enabled (#152269)

2025-08-11 Thread Tobias Hieta via llvm-branch-commits
Author: Ayke Date: 2025-08-11T14:10:12+02:00 New Revision: ba87d05c554dbba18d42b9869ab9b95601ccae6b URL: https://github.com/llvm/llvm-project/commit/ba87d05c554dbba18d42b9869ab9b95601ccae6b DIFF: https://github.com/llvm/llvm-project/commit/ba87d05c554dbba18d42b9869ab9b95601ccae6b.diff LOG: [AV

[llvm-branch-commits] [libcxx] c092e2a - [libc++] Fix uses of non-empty transparent comparator in `` (#152624)

2025-08-11 Thread Tobias Hieta via llvm-branch-commits
Author: A. Jiang Date: 2025-08-11T14:10:52+02:00 New Revision: c092e2af144deb85b5dfc8cd9ead2c07068a2918 URL: https://github.com/llvm/llvm-project/commit/c092e2af144deb85b5dfc8cd9ead2c07068a2918 DIFF: https://github.com/llvm/llvm-project/commit/c092e2af144deb85b5dfc8cd9ead2c07068a2918.diff LOG:

[llvm-branch-commits] [llvm] release/21.x: [AVR] Fix codegen after getConstant assertions got enabled (#152269) (PR #152682)

2025-08-11 Thread Tobias Hieta via llvm-branch-commits
https://github.com/tru updated https://github.com/llvm/llvm-project/pull/152682 >From ba87d05c554dbba18d42b9869ab9b95601ccae6b Mon Sep 17 00:00:00 2001 From: Ayke Date: Thu, 7 Aug 2025 11:40:33 +0200 Subject: [PATCH] [AVR] Fix codegen after getConstant assertions got enabled (#152269) This fix

[llvm-branch-commits] [llvm] release/21.x: [AVR] Fix codegen after getConstant assertions got enabled (#152269) (PR #152682)

2025-08-11 Thread Tobias Hieta via llvm-branch-commits
https://github.com/tru closed https://github.com/llvm/llvm-project/pull/152682 ___ 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] 6f5c887 - [GVN] Check IndirectBr in Predecessor Terminators (#151188)

2025-08-11 Thread Tobias Hieta via llvm-branch-commits
Author: hanbeom Date: 2025-08-11T14:12:09+02:00 New Revision: 6f5c887e557ff6baa98c871541e6b901de211739 URL: https://github.com/llvm/llvm-project/commit/6f5c887e557ff6baa98c871541e6b901de211739 DIFF: https://github.com/llvm/llvm-project/commit/6f5c887e557ff6baa98c871541e6b901de211739.diff LOG:

[llvm-branch-commits] [llvm] release/21.x: [GVN] Check IndirectBr in Predecessor Terminators (#151188) (PR #152965)

2025-08-11 Thread Tobias Hieta via llvm-branch-commits
https://github.com/tru closed https://github.com/llvm/llvm-project/pull/152965 ___ 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/21.x: [GVN] Check IndirectBr in Predecessor Terminators (#151188) (PR #152965)

2025-08-11 Thread Tobias Hieta via llvm-branch-commits
https://github.com/tru updated https://github.com/llvm/llvm-project/pull/152965 >From 6f5c887e557ff6baa98c871541e6b901de211739 Mon Sep 17 00:00:00 2001 From: hanbeom Date: Mon, 11 Aug 2025 16:25:52 +0900 Subject: [PATCH] [GVN] Check IndirectBr in Predecessor Terminators (#151188) Critical edges

[llvm-branch-commits] [flang] release/21.x: [Flang] Fix crash with parametrized derived types usage (#150289) (PR #151937)

2025-08-11 Thread Tobias Hieta via llvm-branch-commits
https://github.com/tru updated https://github.com/llvm/llvm-project/pull/151937 >From e239f1fc580fd422fdd2a033e89360b1be426fb1 Mon Sep 17 00:00:00 2001 From: Carlos Seo Date: Fri, 1 Aug 2025 11:20:09 -0300 Subject: [PATCH] [Flang] Fix crash with parametrized derived types usage (#150289) The c

[llvm-branch-commits] [flang] e239f1f - [Flang] Fix crash with parametrized derived types usage (#150289)

2025-08-11 Thread Tobias Hieta via llvm-branch-commits
Author: Carlos Seo Date: 2025-08-11T14:07:21+02:00 New Revision: e239f1fc580fd422fdd2a033e89360b1be426fb1 URL: https://github.com/llvm/llvm-project/commit/e239f1fc580fd422fdd2a033e89360b1be426fb1 DIFF: https://github.com/llvm/llvm-project/commit/e239f1fc580fd422fdd2a033e89360b1be426fb1.diff LO

[llvm-branch-commits] [flang] release/21.x: [Flang] Fix crash with parametrized derived types usage (#150289) (PR #151937)

2025-08-11 Thread Tobias Hieta via llvm-branch-commits
https://github.com/tru closed https://github.com/llvm/llvm-project/pull/151937 ___ 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] 3aee9c7 - [libc++] Fix tests after #144220

2025-08-11 Thread Tobias Hieta via llvm-branch-commits
Author: Corentin Jabot Date: 2025-08-11T14:07:52+02:00 New Revision: 3aee9c73719767b0bbac1f6777e7334bd1bccd59 URL: https://github.com/llvm/llvm-project/commit/3aee9c73719767b0bbac1f6777e7334bd1bccd59 DIFF: https://github.com/llvm/llvm-project/commit/3aee9c73719767b0bbac1f6777e7334bd1bccd59.diff

[llvm-branch-commits] [libcxx] release/21.x: [libc++] Fix tests after #144220 (PR #152105)

2025-08-11 Thread Tobias Hieta via llvm-branch-commits
https://github.com/tru updated https://github.com/llvm/llvm-project/pull/152105 >From 3aee9c73719767b0bbac1f6777e7334bd1bccd59 Mon Sep 17 00:00:00 2001 From: Corentin Jabot Date: Tue, 5 Aug 2025 10:51:26 +0200 Subject: [PATCH] [libc++] Fix tests after #144220 This is a backport of the test fixe

[llvm-branch-commits] [libcxx] release/21.x: [libc++] Fix tests after #144220 (PR #152105)

2025-08-11 Thread Tobias Hieta via llvm-branch-commits
https://github.com/tru closed https://github.com/llvm/llvm-project/pull/152105 ___ 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] release/21.x: [libc++] Add checks for misused hardening macros (#150669) (PR #151582)

2025-08-11 Thread Tobias Hieta via llvm-branch-commits
https://github.com/tru closed https://github.com/llvm/llvm-project/pull/151582 ___ 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/21.x: [AIX] Handle arbitrary sized integers when lowering formal arguments passed on the stack (#149351) (PR #151734)

2025-08-11 Thread Tobias Hieta via llvm-branch-commits
https://github.com/tru closed https://github.com/llvm/llvm-project/pull/151734 ___ 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] 7be867f - [SystemZ] Remove incorrect areInlineCompatible hook (#152494)

2025-08-11 Thread Tobias Hieta via llvm-branch-commits
Author: Nikita Popov Date: 2025-08-11T14:09:32+02:00 New Revision: 7be867f19d05bd93a1d032124ab6f2703d31ab90 URL: https://github.com/llvm/llvm-project/commit/7be867f19d05bd93a1d032124ab6f2703d31ab90 DIFF: https://github.com/llvm/llvm-project/commit/7be867f19d05bd93a1d032124ab6f2703d31ab90.diff

[llvm-branch-commits] [llvm] 3e55c84 - [PowerPC] fix lowering of SPILL_CRBIT on pwr9 and pwr10 (#146424)

2025-08-11 Thread Tobias Hieta via llvm-branch-commits
Author: Paul Murphy Date: 2025-08-11T14:09:06+02:00 New Revision: 3e55c84ab6843d08d1540f31497d7226d57c5f43 URL: https://github.com/llvm/llvm-project/commit/3e55c84ab6843d08d1540f31497d7226d57c5f43 DIFF: https://github.com/llvm/llvm-project/commit/3e55c84ab6843d08d1540f31497d7226d57c5f43.diff L

[llvm-branch-commits] [compiler-rt] 17c39c1 - [compiler-rt][AArch64] Add GCS property in assembly files (#152502)

2025-08-11 Thread Tobias Hieta via llvm-branch-commits
Author: Csanád Hajdú Date: 2025-08-11T14:08:26+02:00 New Revision: 17c39c1e05b62894256555d5ff23aaff94dc5326 URL: https://github.com/llvm/llvm-project/commit/17c39c1e05b62894256555d5ff23aaff94dc5326 DIFF: https://github.com/llvm/llvm-project/commit/17c39c1e05b62894256555d5ff23aaff94dc5326.diff

[llvm-branch-commits] [compiler-rt] release/21.x: [compiler-rt][AArch64] Add GCS property in assembly files (#152502) (PR #152653)

2025-08-11 Thread Tobias Hieta via llvm-branch-commits
https://github.com/tru updated https://github.com/llvm/llvm-project/pull/152653 >From 17c39c1e05b62894256555d5ff23aaff94dc5326 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Csan=C3=A1d=20Hajd=C3=BA?= Date: Thu, 7 Aug 2025 16:40:36 +0200 Subject: [PATCH] [compiler-rt][AArch64] Add GCS property in asse

[llvm-branch-commits] [compiler-rt] release/21.x: [compiler-rt][AArch64] Add GCS property in assembly files (#152502) (PR #152653)

2025-08-11 Thread Tobias Hieta via llvm-branch-commits
https://github.com/tru closed https://github.com/llvm/llvm-project/pull/152653 ___ 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/21.x: [PowerPC] fix lowering of SPILL_CRBIT on pwr9 and pwr10 (#146424) (PR #152654)

2025-08-11 Thread Tobias Hieta via llvm-branch-commits
https://github.com/tru updated https://github.com/llvm/llvm-project/pull/152654 >From 3e55c84ab6843d08d1540f31497d7226d57c5f43 Mon Sep 17 00:00:00 2001 From: Paul Murphy Date: Fri, 8 Aug 2025 02:24:22 -0500 Subject: [PATCH] [PowerPC] fix lowering of SPILL_CRBIT on pwr9 and pwr10 (#146424) If a

[llvm-branch-commits] [llvm] release/21.x: [PowerPC] fix lowering of SPILL_CRBIT on pwr9 and pwr10 (#146424) (PR #152654)

2025-08-11 Thread Tobias Hieta via llvm-branch-commits
https://github.com/tru closed https://github.com/llvm/llvm-project/pull/152654 ___ 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] release/21.x: [libc++] Fix tests after #144220 (PR #152105)

2025-08-11 Thread via llvm-branch-commits
github-actions[bot] wrote: @cor3ntin (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] [libcxx] release/21.x: [libc++] Fix uses of non-empty transparent comparator in `` (#152624) (PR #152776)

2025-08-11 Thread Tobias Hieta via llvm-branch-commits
https://github.com/tru updated https://github.com/llvm/llvm-project/pull/152776 >From c092e2af144deb85b5dfc8cd9ead2c07068a2918 Mon Sep 17 00:00:00 2001 From: "A. Jiang" Date: Sat, 9 Aug 2025 02:41:06 +0800 Subject: [PATCH] [libc++] Fix uses of non-empty transparent comparator in `` (#152624) T

[llvm-branch-commits] [libcxx] release/21.x: [libc++] Fix uses of non-empty transparent comparator in `` (#152624) (PR #152776)

2025-08-11 Thread Tobias Hieta via llvm-branch-commits
https://github.com/tru closed https://github.com/llvm/llvm-project/pull/152776 ___ 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/21.x: [IR] Handle fabs LHS in `fcmpImpliesClass` (#152913) (PR #152921)

2025-08-11 Thread Tobias Hieta via llvm-branch-commits
https://github.com/tru closed https://github.com/llvm/llvm-project/pull/152921 ___ 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] f64406b - [IR] Handle fabs LHS in `fcmpImpliesClass` (#152913)

2025-08-11 Thread Tobias Hieta via llvm-branch-commits
Author: Yingwei Zheng Date: 2025-08-11T14:11:19+02:00 New Revision: f64406b824d6310843d61e9663237c94b1183917 URL: https://github.com/llvm/llvm-project/commit/f64406b824d6310843d61e9663237c94b1183917 DIFF: https://github.com/llvm/llvm-project/commit/f64406b824d6310843d61e9663237c94b1183917.diff

[llvm-branch-commits] [llvm] release/21.x: [IR] Handle fabs LHS in `fcmpImpliesClass` (#152913) (PR #152921)

2025-08-11 Thread Tobias Hieta via llvm-branch-commits
https://github.com/tru updated https://github.com/llvm/llvm-project/pull/152921 >From f64406b824d6310843d61e9663237c94b1183917 Mon Sep 17 00:00:00 2001 From: Yingwei Zheng Date: Sun, 10 Aug 2025 22:55:04 +0800 Subject: [PATCH] [IR] Handle fabs LHS in `fcmpImpliesClass` (#152913) Closes https://

[llvm-branch-commits] [libcxx] release/21.x: [libc++] Fix uses of non-empty transparent comparator in `` (#152624) (PR #152776)

2025-08-11 Thread via llvm-branch-commits
github-actions[bot] wrote: @frederick-vs-ja (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

[llvm-branch-commits] [libcxx] release/21.x: [libc++] Implement comparison operators for `tuple` added in C++23 (#148799) (PR #151808)

2025-08-11 Thread Tobias Hieta via llvm-branch-commits
tru wrote: Yeah I am not sure we want this. We are at RC3 tomorrow, it's not like it was that early in the RC phase. I will reject this unless one of the libc++ maintainers disagrees. https://github.com/llvm/llvm-project/pull/151808 ___ llvm-branch-c

[llvm-branch-commits] [clang] release/21.x: [clang][Driver] Prefer non-Linux emulations for baremetal Arm/AArch64 targets (#149235) (PR #151052)

2025-08-11 Thread Tobias Hieta via llvm-branch-commits
tru wrote: ping https://github.com/llvm/llvm-project/pull/151052 ___ 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/21.x: [CMake][Release] Build with -ffat-lto-objects (#140381) (PR #151245)

2025-08-11 Thread Tobias Hieta via llvm-branch-commits
tru wrote: ping @tstellar https://github.com/llvm/llvm-project/pull/151245 ___ 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] [Dexter][NFC] Rename step -> step_in (PR #152716)

2025-08-11 Thread Stephen Tozer via llvm-branch-commits
https://github.com/SLTozer approved this pull request. https://github.com/llvm/llvm-project/pull/152716 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] AMDGPU: Handle rewriting non-tied MFMA to AGPR form (PR #149027)

2025-08-11 Thread Sirish Pande via llvm-branch-commits
https://github.com/srpande commented: I have a general question about this. What if we write to agpr form form on vgprcd, where C Opc is AGPR and dest is vgpr? If I read this code, this code freely does that. Is that correct? https://github.com/llvm/llvm-project/pull/149027 ___

[llvm-branch-commits] ELF: Introduce R_AARCH64_PATCHINST relocation type. (PR #133534)

2025-08-11 Thread David Green via llvm-branch-commits
davemgreen wrote: > I'm not a an official maintainer, Yeah you are. If you say this LGTY then it SGTM :) https://github.com/llvm/llvm-project/pull/133534 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cg

[llvm-branch-commits] ELF: Introduce R_AARCH64_PATCHINST relocation type. (PR #133534)

2025-08-11 Thread David Green via llvm-branch-commits
https://github.com/davemgreen approved this pull request. https://github.com/llvm/llvm-project/pull/133534 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [AMDGPU][GISel] Only fold flat offsets if they are inbounds (PR #153001)

2025-08-11 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm approved this pull request. https://github.com/llvm/llvm-project/pull/153001 ___ 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] [Dexter] add get_pc (PR #152719)

2025-08-11 Thread Orlando Cazalet-Hyams via llvm-branch-commits
@@ -233,6 +233,16 @@ def frames_below_main(self): def evaluate_expression(self, expression, frame_idx=0) -> ValueIR: pass +def get_pc(self, frame_idx: int = 0) -> str: +"""Get the current PC in frame at frame_idx depth. +frame_idx 0 is the curre

[llvm-branch-commits] [libcxx] release/21.x: [libc++] Add checks for misused hardening macros (#150669) (PR #151582)

2025-08-11 Thread Tobias Hieta via llvm-branch-commits
https://github.com/tru updated https://github.com/llvm/llvm-project/pull/151582 >From 3290ca0fdd69b9c14dfca0c31e4b62360d00a3ed Mon Sep 17 00:00:00 2001 From: Louis Dionne Date: Thu, 31 Jul 2025 15:17:56 -0400 Subject: [PATCH] [libc++] Add checks for misused hardening macros (#150669) Libc++ har

[llvm-branch-commits] [libcxx] 3290ca0 - [libc++] Add checks for misused hardening macros (#150669)

2025-08-11 Thread Tobias Hieta via llvm-branch-commits
Author: Louis Dionne Date: 2025-08-11T14:05:54+02:00 New Revision: 3290ca0fdd69b9c14dfca0c31e4b62360d00a3ed URL: https://github.com/llvm/llvm-project/commit/3290ca0fdd69b9c14dfca0c31e4b62360d00a3ed DIFF: https://github.com/llvm/llvm-project/commit/3290ca0fdd69b9c14dfca0c31e4b62360d00a3ed.diff

[llvm-branch-commits] [llvm] 768c324 - [AIX] Handle arbitrary sized integers when lowering formal arguments passed on the stack (#149351)

2025-08-11 Thread Tobias Hieta via llvm-branch-commits
Author: Amy Kwan Date: 2025-08-11T14:06:48+02:00 New Revision: 768c3245b4ead53dc95d55014338d72e9d7faef5 URL: https://github.com/llvm/llvm-project/commit/768c3245b4ead53dc95d55014338d72e9d7faef5 DIFF: https://github.com/llvm/llvm-project/commit/768c3245b4ead53dc95d55014338d72e9d7faef5.diff LOG:

[llvm-branch-commits] [llvm] release/21.x: [AIX] Handle arbitrary sized integers when lowering formal arguments passed on the stack (#149351) (PR #151734)

2025-08-11 Thread Tobias Hieta via llvm-branch-commits
https://github.com/tru updated https://github.com/llvm/llvm-project/pull/151734 >From 768c3245b4ead53dc95d55014338d72e9d7faef5 Mon Sep 17 00:00:00 2001 From: Amy Kwan Date: Fri, 1 Aug 2025 08:01:26 -0400 Subject: [PATCH] [AIX] Handle arbitrary sized integers when lowering formal arguments passe

[llvm-branch-commits] [llvm] AMDGPU: Handle rewriting VGPR MFMAs with immediate src2 (PR #153016)

2025-08-11 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/153016.diff 4 Files Affected: - (modified) llvm/lib/Target/AMDGPU/AMDGPURewriteAGPRCopyMFMA.cpp (+10-8) - (modified) llvm/test/CodeGen/

[llvm-branch-commits] [flang] [llvm] [mlir] [Flang][OpenMP][MLIR] Initial declare target to for variables implementation (PR #119589)

2025-08-11 Thread Sergio Afonso via llvm-branch-commits
@@ -0,0 +1,38 @@ +// RUN: mlir-translate -mlir-to-llvmir %s | FileCheck %s + +// This tests the replacement of operations for declare target to with the +// generated declare target to global variable inside of target op regions when +// lowering to IR for device. Unfortunately as

[llvm-branch-commits] [flang] [llvm] [mlir] [Flang][OpenMP][MLIR] Initial declare target to for variables implementation (PR #119589)

2025-08-11 Thread Sergio Afonso via llvm-branch-commits
@@ -275,9 +275,21 @@ class MapInfoFinalizationPass return mapTypeFlag; mapFlags flags = mapFlags::OMP_MAP_TO | - (mapFlags(mapTypeFlag) & - (mapFlags::OMP_MAP_IMPLICIT | mapFlags::OMP_MAP_CLOSE | - mapFla

[llvm-branch-commits] [flang] [llvm] [mlir] [Flang][OpenMP][MLIR] Initial declare target to for variables implementation (PR #119589)

2025-08-11 Thread Sergio Afonso via llvm-branch-commits
@@ -5150,11 +5213,17 @@ handleDeclareTargetMapVar(MapInfoData &mapData, for (llvm::User *user : userVec) { if (auto *insn = dyn_cast(user)) { if (insn->getFunction() == func) { -builder.SetCurrentDebugLocation(insn->getDebugLoc()); -

[llvm-branch-commits] [flang] [llvm] [mlir] [Flang][OpenMP][MLIR] Initial declare target to for variables implementation (PR #119589)

2025-08-11 Thread Sergio Afonso via llvm-branch-commits
@@ -0,0 +1,52 @@ +! Test that checks an allocatable array can be marked declare target to and +! functions without issue. +! REQUIRES: flang, amdgpu + +! RUN: %libomptarget-compile-fortran-run-and-check-generic +module test +implicit none +integer, allocatable, dimension(:

[llvm-branch-commits] [flang] [llvm] [mlir] [Flang][OpenMP][MLIR] Initial declare target to for variables implementation (PR #119589)

2025-08-11 Thread Sergio Afonso via llvm-branch-commits
@@ -0,0 +1,52 @@ +! Test that checks an allocatable array can be marked declare target to and skatrak wrote: ```suggestion ! Test that checks an allocatable array can be marked `declare target to` and ``` https://github.com/llvm/llvm-project/pull/119589

[llvm-branch-commits] [flang] [llvm] [mlir] [Flang][OpenMP][MLIR] Initial declare target to for variables implementation (PR #119589)

2025-08-11 Thread Sergio Afonso via llvm-branch-commits
https://github.com/skatrak commented: Thank you Andrew, I only have some minor comments. https://github.com/llvm/llvm-project/pull/119589 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/lis

[llvm-branch-commits] [flang] [llvm] [mlir] [Flang][OpenMP][MLIR] Initial declare target to for variables implementation (PR #119589)

2025-08-11 Thread Sergio Afonso via llvm-branch-commits
@@ -0,0 +1,36 @@ +! Test declare target to interaction with update from skatrak wrote: ```suggestion ! Test `declare target to` interaction with `target update from` ``` https://github.com/llvm/llvm-project/pull/119589 ___

[llvm-branch-commits] [flang] [llvm] [mlir] [Flang][OpenMP][MLIR] Initial declare target to for variables implementation (PR #119589)

2025-08-11 Thread Sergio Afonso via llvm-branch-commits
@@ -4358,8 +4411,15 @@ static void processMapMembersWithParent( mapFlag &= ~llvm::omp::OpenMPOffloadMappingFlags::OMP_MAP_TARGET_PARAM; mapFlag |= llvm::omp::OpenMPOffloadMappingFlags::OMP_MAP_MEMBER_OF; ompBuilder.setCorrectMemberOfFlag(mapFlag, memberOfFlag); -

[llvm-branch-commits] [flang] [llvm] [mlir] [Flang][OpenMP][MLIR] Initial declare target to for variables implementation (PR #119589)

2025-08-11 Thread Sergio Afonso via llvm-branch-commits
@@ -3566,8 +3568,12 @@ getDeclareTargetRefPtrSuffix(LLVM::GlobalOp globalOp, return suffix; } -static bool isDeclareTargetLink(mlir::Value value) { - if (auto addressOfOp = value.getDefiningOp()) { +static bool isDeclareTargetLink(Value value) { + Operation *op = value.get

[llvm-branch-commits] [flang] [llvm] [mlir] [Flang][OpenMP][MLIR] Initial declare target to for variables implementation (PR #119589)

2025-08-11 Thread Sergio Afonso via llvm-branch-commits
@@ -3664,6 +3690,30 @@ struct MapInfoData : MapInfosTy { MapInfosTy::append(CurInfo); } }; + +enum class TargetDirective : uint32_t { + None = 0, + Target = 1, + TargetData = 2, + TargetEnterData = 3, + TargetExitData = 4, + TargetUpdate = 5 +}; ska

  1   2   >