[llvm-branch-commits] [llvm] [AArch64][PAC] Move emission of LR checks in tail calls to AsmPrinter (PR #110705)

2024-10-06 Thread Daniil Kovalev via llvm-branch-commits
https://github.com/kovdan01 requested changes to this pull request. See https://github.com/llvm/llvm-project/pull/110705#issuecomment-2396047508 https://github.com/llvm/llvm-project/pull/110705 ___ llvm-branch-commits mailing list llvm-branch-commits@l

[llvm-branch-commits] [llvm] [AArch64][PAC] Move emission of LR checks in tail calls to AsmPrinter (PR #110705)

2024-10-06 Thread Daniil Kovalev via llvm-branch-commits
kovdan01 wrote: @atrosinenko Here is a reproducer IR code. ``` define void @_ZN7myshape4moveEv(ptr %this) #0 { entry: %0 = load ptr, ptr %this, align 8 %vtable = load ptr, ptr %0, align 8 %1 = ptrtoint ptr %0 to i64 %2 = tail call i64 @llvm.ptrauth.blend(i64 %1, i64 50297) %3 = ptrto

[llvm-branch-commits] [clang] [MSVC] work-around for compile time issue 102513 (PR #111314)

2024-10-06 Thread Timm Baeder via llvm-branch-commits
https://github.com/tbaederr approved this pull request. https://github.com/llvm/llvm-project/pull/111314 ___ 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] [NewPM][CodeGen] Port LiveRegMatrix to NPM (PR #109938)

2024-10-06 Thread Akshat Oke via llvm-branch-commits
https://github.com/Akshat-Oke edited https://github.com/llvm/llvm-project/pull/109938 ___ 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] [NewPM][CodeGen] Port LiveRegMatrix to NPM (PR #109938)

2024-10-06 Thread Akshat Oke via llvm-branch-commits
@@ -57,15 +59,21 @@ class LiveRegMatrix : public MachineFunctionPass { unsigned RegMaskVirtReg = 0; BitVector RegMaskUsable; - // MachineFunctionPass boilerplate. - void getAnalysisUsage(AnalysisUsage &) const override; - bool runOnMachineFunction(MachineFunction &) ove

[llvm-branch-commits] [clang-tools-extra] release/19.x: [clang-tidy] Fix crash in modernize-use-ranges (#100427) (PR #101482)

2024-10-06 Thread Nathan James via llvm-branch-commits
njames93 wrote: That crash is addressed in #111318. Basically the check works fine when run in clang-tidy with 1 source file, but failed when ran multiple times from one process. https://github.com/llvm/llvm-project/pull/101482 ___ llvm-branch-commit

[llvm-branch-commits] [clang] release/19.x: [Clang] Remove the special-casing for RequiresExprBodyDecl in BuildResolvedCallExpr() after fd87d765c0 (#111277) (PR #111324)

2024-10-06 Thread Matheus Izvekov via llvm-branch-commits
https://github.com/mizvekov approved this pull request. https://github.com/llvm/llvm-project/pull/111324 ___ 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] Remove the special-casing for RequiresExprBodyDecl in BuildResolvedCallExpr() after fd87d765c0 (#111277) (PR #111324)

2024-10-06 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: None (llvmbot) Changes Backport 8c1547055eaf65003f3e6fd024195f4926ff2356 Requested by: @zyn0217 --- Full diff: https://github.com/llvm/llvm-project/pull/111324.diff 4 Files Affected: - (modified) clang/lib/Sema/SemaExpr.cpp (+1-2) - (

[llvm-branch-commits] [clang] release/19.x: [Clang] Remove the special-casing for RequiresExprBodyDecl in BuildResolvedCallExpr() after fd87d765c0 (#111277) (PR #111324)

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

[llvm-branch-commits] [clang] release/19.x: [Clang] Remove the special-casing for RequiresExprBodyDecl in BuildResolvedCallExpr() after fd87d765c0 (#111277) (PR #111324)

2024-10-06 Thread via llvm-branch-commits
https://github.com/llvmbot milestoned https://github.com/llvm/llvm-project/pull/111324 ___ 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] Remove the special-casing for RequiresExprBodyDecl in BuildResolvedCallExpr() after fd87d765c0 (#111277) (PR #111324)

2024-10-06 Thread via llvm-branch-commits
https://github.com/llvmbot created https://github.com/llvm/llvm-project/pull/111324 Backport 8c1547055eaf65003f3e6fd024195f4926ff2356 Requested by: @zyn0217 >From 98aff7d4fcf8aa2f63643915dad08df4c4c557a6 Mon Sep 17 00:00:00 2001 From: Younan Zhang Date: Mon, 7 Oct 2024 09:38:19 +0800 Subject:

[llvm-branch-commits] [clang-tools-extra] release/19.x: [clang-tidy] Avoid capturing a local variable in a static lambda in UseRangesCheck (#111282) (PR #111318)

2024-10-06 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-clangd Author: None (llvmbot) Changes Backport acf92a47c0ece8562fd745215c478fe2d4ab5896 Requested by: @HighCommander4 --- Full diff: https://github.com/llvm/llvm-project/pull/111318.diff 2 Files Affected: - (modified) clang-tools-extra/clang-tidy/bo

[llvm-branch-commits] [clang-tools-extra] release/19.x: [clang-tidy] Avoid capturing a local variable in a static lambda in UseRangesCheck (#111282) (PR #111318)

2024-10-06 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-clang-tools-extra Author: None (llvmbot) Changes Backport acf92a47c0ece8562fd745215c478fe2d4ab5896 Requested by: @HighCommander4 --- Full diff: https://github.com/llvm/llvm-project/pull/111318.diff 2 Files Affected: - (modified) clang-tools-extra/cl

[llvm-branch-commits] [clang-tools-extra] release/19.x: [clang-tidy] Avoid capturing a local variable in a static lambda in UseRangesCheck (#111282) (PR #111318)

2024-10-06 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-clang-tidy Author: None (llvmbot) Changes Backport acf92a47c0ece8562fd745215c478fe2d4ab5896 Requested by: @HighCommander4 --- Full diff: https://github.com/llvm/llvm-project/pull/111318.diff 2 Files Affected: - (modified) clang-tools-extra/clang-tid

[llvm-branch-commits] [clang-tools-extra] release/19.x: [clang-tidy] Avoid capturing a local variable in a static lambda in UseRangesCheck (#111282) (PR #111318)

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

[llvm-branch-commits] [clang-tools-extra] release/19.x: [clang-tidy] Avoid capturing a local variable in a static lambda in UseRangesCheck (#111282) (PR #111318)

2024-10-06 Thread via llvm-branch-commits
https://github.com/llvmbot milestoned https://github.com/llvm/llvm-project/pull/111318 ___ 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-tools-extra] release/19.x: [clang-tidy] Avoid capturing a local variable in a static lambda in UseRangesCheck (#111282) (PR #111318)

2024-10-06 Thread via llvm-branch-commits
https://github.com/llvmbot created https://github.com/llvm/llvm-project/pull/111318 Backport acf92a47c0ece8562fd745215c478fe2d4ab5896 Requested by: @HighCommander4 >From 1ce51790c94018d5843103abcda048c4cdc242f8 Mon Sep 17 00:00:00 2001 From: Nathan Ridge Date: Sun, 6 Oct 2024 18:13:36 -0400 S

[llvm-branch-commits] [clang] [MSVC] work-around for compile time issue 102513 (PR #111314)

2024-10-06 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: bd1976bris (bd1976bris) Changes Manual cherry-pick of #110986 to the LLVM 19 release branch. --- Full diff: https://github.com/llvm/llvm-project/pull/111314.diff 1 Files Affected: - (modified) clang/lib/AST/Interp/Interp.cpp (+8) ```

[llvm-branch-commits] [clang] [MSVC] work-around for compile time issue 102513 (PR #111314)

2024-10-06 Thread via llvm-branch-commits
https://github.com/bd1976bris created https://github.com/llvm/llvm-project/pull/111314 Manual cherry-pick of #110986 to the LLVM 19 release branch. >From c4b52d9d07533084090a183c263477feb9b195f5 Mon Sep 17 00:00:00 2001 From: bd1976bris Date: Sun, 6 Oct 2024 22:47:02 +0100 Subject: [PATCH] [MS

[llvm-branch-commits] [Flang][OpenMP] Derived type explicit allocatable member mapping (PR #111192)

2024-10-06 Thread Kareem Ergawy via llvm-branch-commits
@@ -0,0 +1,161 @@ +!RUN: %flang_fc1 -emit-hlfir -fopenmp %s -o - | FileCheck %s + +!CHECK: %[[ALLOCA:.*]] = fir.alloca !fir.type<_QFtest_derived_type_allocatable_map_operand_and_block_additionTone_layer{i:f32,scalar:!fir.box>,array_i:!fir.array<10xi32>,j:f32,array_j:!fir.box>>,k:

[llvm-branch-commits] [Flang][OpenMP] Derived type explicit allocatable member mapping (PR #111192)

2024-10-06 Thread Kareem Ergawy via llvm-branch-commits
@@ -0,0 +1,161 @@ +!RUN: %flang_fc1 -emit-hlfir -fopenmp %s -o - | FileCheck %s ergawy wrote: In the whole file, can you capture the names of longs types in FileCheck variables and use the captured type names to improve readability and reduce line lengths a bit

[llvm-branch-commits] [Flang][OpenMP] Derived type explicit allocatable member mapping (PR #111192)

2024-10-06 Thread Kareem Ergawy via llvm-branch-commits
@@ -0,0 +1,161 @@ +!RUN: %flang_fc1 -emit-hlfir -fopenmp %s -o - | FileCheck %s + +!CHECK: %[[ALLOCA:.*]] = fir.alloca !fir.type<_QFtest_derived_type_allocatable_map_operand_and_block_additionTone_layer{i:f32,scalar:!fir.box>,array_i:!fir.array<10xi32>,j:f32,array_j:!fir.box>>,k:

[llvm-branch-commits] [Flang][OpenMP] Derived type explicit allocatable member mapping (PR #111192)

2024-10-06 Thread Kareem Ergawy via llvm-branch-commits
https://github.com/ergawy commented: First round, just reading through some tests to make sure I understand the effect of the changes. Will continue later. Thanks Andrew! https://github.com/llvm/llvm-project/pull/92 ___ llvm-branch-commits mailing

[llvm-branch-commits] [Flang][OpenMP] Derived type explicit allocatable member mapping (PR #111192)

2024-10-06 Thread Kareem Ergawy via llvm-branch-commits
https://github.com/ergawy edited https://github.com/llvm/llvm-project/pull/92 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits