[llvm-branch-commits] [clang] [LifetimeSafety] Track moved declarations to prevent false positives (PR #170007)

2025-12-03 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-clang-analysis @llvm/pr-subscribers-clang-temporal-safety Author: Utkarsh Saxena (usx95) Changes Prevent false positives in lifetime safety analysis when variables are moved using `std::move`. When a value is moved using `std::move`, ownership is trans

[llvm-branch-commits] [clang] [LifetimeSafety] Track moved declarations to prevent false positives (PR #170007)

2025-12-03 Thread Utkarsh Saxena via llvm-branch-commits
https://github.com/usx95 ready_for_review https://github.com/llvm/llvm-project/pull/170007 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang] [LifetimeSafety] Track moved declarations to prevent false positives (PR #170007)

2025-12-03 Thread Utkarsh Saxena via llvm-branch-commits
https://github.com/usx95 edited https://github.com/llvm/llvm-project/pull/170007 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang] [LifetimeSafety] Track moved declarations to prevent false positives (PR #170007)

2025-12-03 Thread Utkarsh Saxena via llvm-branch-commits
https://github.com/usx95 edited https://github.com/llvm/llvm-project/pull/170007 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang] std_move false positive (PR #170007)

2025-12-03 Thread Utkarsh Saxena via llvm-branch-commits
https://github.com/usx95 updated https://github.com/llvm/llvm-project/pull/170007 >From 9a4cf3668d669e1bc3a5ec32254574eba242114b Mon Sep 17 00:00:00 2001 From: Utkarsh Saxena Date: Sat, 29 Nov 2025 16:43:06 + Subject: [PATCH] std_move false positive --- .../Analyses/LifetimeSafety/FactsGe

[llvm-branch-commits] [clang] [LifetimeSafety] Add origin tracking for pointer dereference (PR #170006)

2025-12-03 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Utkarsh Saxena (usx95) Changes Fix lifetime safety analysis for pointer dereference operations by properly tracking origin flow. Added support in `FactsGenerator::VisitUnaryOperator()` to handle the dereference operator (`UO_Deref`). Thi

[llvm-branch-commits] [clang] [LifetimeSafety] Add origin tracking for pointer dereference (PR #170006)

2025-12-03 Thread Utkarsh Saxena via llvm-branch-commits
https://github.com/usx95 ready_for_review https://github.com/llvm/llvm-project/pull/170006 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang] std_move false positive (PR #170007)

2025-12-03 Thread Utkarsh Saxena via llvm-branch-commits
https://github.com/usx95 updated https://github.com/llvm/llvm-project/pull/170007 >From 13948c72e966f7a47205ca88e83d151ae1b3cb46 Mon Sep 17 00:00:00 2001 From: Utkarsh Saxena Date: Sat, 29 Nov 2025 16:43:06 + Subject: [PATCH] std_move false positive --- .../Analyses/LifetimeSafety/FactsGe

[llvm-branch-commits] [clang] std_move false positive (PR #170007)

2025-12-03 Thread Utkarsh Saxena via llvm-branch-commits
https://github.com/usx95 updated https://github.com/llvm/llvm-project/pull/170007 >From 13948c72e966f7a47205ca88e83d151ae1b3cb46 Mon Sep 17 00:00:00 2001 From: Utkarsh Saxena Date: Sat, 29 Nov 2025 16:43:06 + Subject: [PATCH] std_move false positive --- .../Analyses/LifetimeSafety/FactsGe

[llvm-branch-commits] [clang] [LifetimeSafety] Add origin tracking for pointer dereference (PR #170006)

2025-12-03 Thread Utkarsh Saxena via llvm-branch-commits
https://github.com/usx95 updated https://github.com/llvm/llvm-project/pull/170006 >From ceda23e39a51a1f71f77be8a9bd22138bd0432d6 Mon Sep 17 00:00:00 2001 From: Utkarsh Saxena Date: Sat, 29 Nov 2025 15:49:00 + Subject: [PATCH] dereference_operator --- .../LifetimeSafety/FactsGenerator.cpp

[llvm-branch-commits] [clang] [ExposeObjCDirect] Setup helper functions (PR #170617)

2025-12-03 Thread via llvm-branch-commits
github-actions[bot] wrote: # :penguin: Linux x64 Test Results * 3053 tests passed * 7 tests skipped All tests passed but another part of the build **failed**. Click on a failure below to see the details. tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGObjCMac.cpp.o ``` FAILED: to

[llvm-branch-commits] [clang] [ExposeObjCDirect] Setup helper functions (PR #170617)

2025-12-03 Thread Peter Rong via llvm-branch-commits
https://github.com/DataCorrupted edited https://github.com/llvm/llvm-project/pull/170617 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang] [ExposeDirectMethod] Nil chech thunk generation (PR #170618)

2025-12-03 Thread Peter Rong via llvm-branch-commits
https://github.com/DataCorrupted edited https://github.com/llvm/llvm-project/pull/170618 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang] [ExposeObjCDirect] Optimizations (PR #170619)

2025-12-03 Thread Peter Rong via llvm-branch-commits
https://github.com/DataCorrupted edited https://github.com/llvm/llvm-project/pull/170619 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang] [ExposeObjCDirect] Optimizations (PR #170619)

2025-12-03 Thread Peter Rong via llvm-branch-commits
https://github.com/DataCorrupted created https://github.com/llvm/llvm-project/pull/170619 In many cases we can infer that class object has been realized >From 110198ae0bd837972d4d9ff013494fbf3206b7a4 Mon Sep 17 00:00:00 2001 From: Peter Rong Date: Wed, 3 Dec 2025 22:45:04 -0800 Subject: [PATCH

[llvm-branch-commits] [clang] [ExposeDirectMethod] Nil chech thunk generation (PR #170618)

2025-12-03 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 origin/main HEAD --extensions h,cpp -- clang/lib/CodeGen/CGDecl.cpp clang/lib/CodeGen

[llvm-branch-commits] [clang] [ExposeObjCDirect] Setup helper functions (PR #170617)

2025-12-03 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 origin/main HEAD --extensions cpp,h -- clang/lib/CodeGen/CGObjCGNU.cpp clang/lib/Code

[llvm-branch-commits] [clang] [ExposeDirectMethod] Nil chech thunk generation (PR #170618)

2025-12-03 Thread Peter Rong via llvm-branch-commits
https://github.com/DataCorrupted created https://github.com/llvm/llvm-project/pull/170618 - Generation - Dispatch >From 81b0d800623f03b0c3fa9b4412e36dc585236ed8 Mon Sep 17 00:00:00 2001 From: Peter Rong Date: Wed, 3 Dec 2025 22:42:51 -0800 Subject: [PATCH] [ExposeDirectMethod] Nil chech thunk

[llvm-branch-commits] [clang] [ExposeObjCDirect] Setup helper functions (PR #170617)

2025-12-03 Thread Peter Rong via llvm-branch-commits
https://github.com/DataCorrupted created https://github.com/llvm/llvm-project/pull/170617 1. GenerateDirectMethodsPreconditionCheck: Move some functionalities to a separate functions. Those functions will be reused if we move precondition checks into a thunk 2. Create `DirectMethodInfo`, which

[llvm-branch-commits] [llvm] [WIP][CodeGen] Allow register allocator to drive save/restore (PR #170611)

2025-12-03 Thread Petr Penzin via llvm-branch-commits
https://github.com/ppenzin edited https://github.com/llvm/llvm-project/pull/170611 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [WIP][CodeGen] Allow register allocator to drive save/restore (PR #170611)

2025-12-03 Thread Petr Penzin via llvm-branch-commits
https://github.com/ppenzin edited https://github.com/llvm/llvm-project/pull/170611 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [WIP][CodeGen] Enable early CFI (PR #170610)

2025-12-03 Thread Petr Penzin via llvm-branch-commits
https://github.com/ppenzin edited https://github.com/llvm/llvm-project/pull/170610 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [WIP][CodeGen] Enable early CFI (PR #170610)

2025-12-03 Thread Petr Penzin via llvm-branch-commits
https://github.com/ppenzin edited https://github.com/llvm/llvm-project/pull/170610 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [WIP][CodeGen] Split `determineCalleeSaves` (PR #170609)

2025-12-03 Thread Petr Penzin via llvm-branch-commits
https://github.com/ppenzin edited https://github.com/llvm/llvm-project/pull/170609 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [WIP][CodeGen][DebugInfo][RISCV] Support scalable offsets in CFI (PR #170607)

2025-12-03 Thread Petr Penzin via llvm-branch-commits
https://github.com/ppenzin edited https://github.com/llvm/llvm-project/pull/170607 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang] [LifetimeSafety] Add origin tracking for pointer dereference (PR #170006)

2025-12-03 Thread Utkarsh Saxena via llvm-branch-commits
https://github.com/usx95 edited https://github.com/llvm/llvm-project/pull/170006 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang] [LifetimeSafety] Add origin tracking for pointer dereference (PR #170006)

2025-12-03 Thread Utkarsh Saxena via llvm-branch-commits
https://github.com/usx95 edited https://github.com/llvm/llvm-project/pull/170006 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [WIP] Users/ppenzin/ra saverestore codegen (PR #170611)

2025-12-03 Thread via llvm-branch-commits
github-actions[bot] wrote: # :penguin: Linux x64 Test Results * 3053 tests passed * 7 tests skipped All tests passed but another part of the build **failed**. Click on a failure below to see the details. lib/DWARFCFIChecker/CMakeFiles/LLVMDWARFCFIChecker.dir/DWARFCFIState.cpp.o ``` FAILED:

[llvm-branch-commits] [llvm] [WIP][CodeGen] Split `determineCalleeSaves` (PR #170609)

2025-12-03 Thread Petr Penzin via llvm-branch-commits
https://github.com/ppenzin edited https://github.com/llvm/llvm-project/pull/170609 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [WIP] Users/ppenzin/ra saverestore early cfi (PR #170610)

2025-12-03 Thread via llvm-branch-commits
github-actions[bot] wrote: # :penguin: Linux x64 Test Results * 3053 tests passed * 7 tests skipped All tests passed but another part of the build **failed**. Click on a failure below to see the details. lib/DWARFCFIChecker/CMakeFiles/LLVMDWARFCFIChecker.dir/DWARFCFIState.cpp.o ``` FAILED:

[llvm-branch-commits] [llvm] Users/ppenzin/ra saverestore split calleesaves (PR #170609)

2025-12-03 Thread via llvm-branch-commits
github-actions[bot] wrote: # :penguin: Linux x64 Test Results * 3053 tests passed * 7 tests skipped All tests passed but another part of the build **failed**. Click on a failure below to see the details. lib/DWARFCFIChecker/CMakeFiles/LLVMDWARFCFIChecker.dir/DWARFCFIState.cpp.o ``` FAILED:

[llvm-branch-commits] [llvm] [WIP][CodeGen][DebugInfo][RISCV] Support scalable offsets in CFI (PR #170607)

2025-12-03 Thread Petr Penzin via llvm-branch-commits
https://github.com/ppenzin edited https://github.com/llvm/llvm-project/pull/170607 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [WIP][CodeGen][DebugInfo][RISCV] Support scalable offsets in CFI (PR #170607)

2025-12-03 Thread Petr Penzin via llvm-branch-commits
ppenzin wrote: This change has clean CI (the failures are coming from the one it is stacked on), I think I can make it stand on its own, but it might require a bit more careful DWARF verification. https://github.com/llvm/llvm-project/pull/170607 ___

[llvm-branch-commits] [llvm] Users/ppenzin/ra saverestore offsets (PR #170607)

2025-12-03 Thread via llvm-branch-commits
github-actions[bot] wrote: # :penguin: Linux x64 Test Results * 11343 tests passed * 601 tests skipped All tests passed but another part of the build **failed**. Click on a failure below to see the details. lib/DWARFCFIChecker/CMakeFiles/LLVMDWARFCFIChecker.dir/DWARFCFIState.cpp.o ``` FAIL

[llvm-branch-commits] [llvm] [WIP][CodeGen][DebugInfo][RISCV] Support scalable offsets in CFI (PR #170607)

2025-12-03 Thread Petr Penzin via llvm-branch-commits
https://github.com/ppenzin edited https://github.com/llvm/llvm-project/pull/170607 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [WIP] Users/ppenzin/ra saverestore codegen (PR #170611)

2025-12-03 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 origin/main HEAD --extensions cpp,h -- llvm/lib/CodeGen/ReachingDefAnalysis.cpp llvm

[llvm-branch-commits] [llvm] [WIP] Users/ppenzin/ra saverestore codegen (PR #170611)

2025-12-03 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-risc-v Author: Petr Penzin (ppenzin) Changes Use register allocator to save callee-saved registers. This has been split out from https://github.com/mgudim/llvm-project/tree/save_csr_in_ra3, and is PR 5 out of 5. Co-authored-by: Mikhail Gudim

[llvm-branch-commits] [llvm] [WIP] Users/ppenzin/ra saverestore codegen (PR #170611)

2025-12-03 Thread Petr Penzin via llvm-branch-commits
https://github.com/ppenzin created https://github.com/llvm/llvm-project/pull/170611 Use register allocator to save callee-saved registers. This has been split out from https://github.com/mgudim/llvm-project/tree/save_csr_in_ra3, and is PR 5 out of 5. Co-authored-by: Mikhail Gudim >From 2f9

[llvm-branch-commits] [llvm] [WIP] Users/ppenzin/ra saverestore early cfi (PR #170610)

2025-12-03 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 origin/main HEAD --extensions cpp,h -- llvm/include/llvm/CodeGen/TargetFrameLowering.

[llvm-branch-commits] [llvm] [WIP] Users/ppenzin/ra saverestore early cfi (PR #170610)

2025-12-03 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-risc-v Author: Petr Penzin (ppenzin) Changes Add ability to emit CFIs if the registers were saved / restored before prolog / epilog insertion. This has been split out from https://github.com/mgudim/llvm-project/tree/save_csr_in_ra3, and is PR

[llvm-branch-commits] [llvm] [WIP] Users/ppenzin/ra saverestore early cfi (PR #170610)

2025-12-03 Thread Petr Penzin via llvm-branch-commits
https://github.com/ppenzin created https://github.com/llvm/llvm-project/pull/170610 Add ability to emit CFIs if the registers were saved / restored before prolog / epilog insertion. This has been split out from https://github.com/mgudim/llvm-project/tree/save_csr_in_ra3, and is PR 4 out of 5

[llvm-branch-commits] [llvm] Users/ppenzin/ra saverestore split calleesaves (PR #170609)

2025-12-03 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 origin/main HEAD --extensions cpp,h -- llvm/include/llvm/CodeGen/TargetFrameLowering.

[llvm-branch-commits] [llvm] Users/ppenzin/ra saverestore split calleesaves (PR #170609)

2025-12-03 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-m68k Author: Petr Penzin (ppenzin) Changes Replace `determineCalleeSaves` with `determinePrologCalleeSaves`, provide additional functions for other potential points of save. This has been split out from https://github.com/mgudim/llvm-project/t

[llvm-branch-commits] [llvm] Users/ppenzin/ra saverestore split calleesaves (PR #170609)

2025-12-03 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-aarch64 Author: Petr Penzin (ppenzin) Changes Replace `determineCalleeSaves` with `determinePrologCalleeSaves`, provide additional functions for other potential points of save. This has been split out from https://github.com/mgudim/llvm-projec

[llvm-branch-commits] [llvm] Users/ppenzin/ra saverestore split calleesaves (PR #170609)

2025-12-03 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-mips Author: Petr Penzin (ppenzin) Changes Replace `determineCalleeSaves` with `determinePrologCalleeSaves`, provide additional functions for other potential points of save. This has been split out from https://github.com/mgudim/llvm-project/t

[llvm-branch-commits] [llvm] Users/ppenzin/ra saverestore split calleesaves (PR #170609)

2025-12-03 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-x86 Author: Petr Penzin (ppenzin) Changes Replace `determineCalleeSaves` with `determinePrologCalleeSaves`, provide additional functions for other potential points of save. This has been split out from https://github.com/mgudim/llvm-project/tr

[llvm-branch-commits] [llvm] Users/ppenzin/ra saverestore split calleesaves (PR #170609)

2025-12-03 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-systemz Author: Petr Penzin (ppenzin) Changes Replace `determineCalleeSaves` with `determinePrologCalleeSaves`, provide additional functions for other potential points of save. This has been split out from https://github.com/mgudim/llvm-projec

[llvm-branch-commits] [llvm] Users/ppenzin/ra saverestore split calleesaves (PR #170609)

2025-12-03 Thread Petr Penzin via llvm-branch-commits
https://github.com/ppenzin created https://github.com/llvm/llvm-project/pull/170609 Replace `determineCalleeSaves` with `determinePrologCalleeSaves`, provide additional functions for other potential points of save. This has been split out from https://github.com/mgudim/llvm-project/tree/save_

[llvm-branch-commits] [llvm] Users/ppenzin/ra saverestore offsets (PR #170607)

2025-12-03 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-debuginfo @llvm/pr-subscribers-backend-risc-v Author: Petr Penzin (ppenzin) Changes Support scalable offsets in CFI. This has been split out from https://github.com/mgudim/llvm-project/tree/save_csr_in_ra3, and is PR 2 out of 5. Co-authored-by: Mikha

[llvm-branch-commits] [llvm] Users/ppenzin/ra saverestore offsets (PR #170607)

2025-12-03 Thread Petr Penzin via llvm-branch-commits
https://github.com/ppenzin created https://github.com/llvm/llvm-project/pull/170607 Support scalable offsets in CFI. This has been split out from https://github.com/mgudim/llvm-project/tree/save_csr_in_ra3, and is PR 2 out of 5. Co-authored-by: Mikhail Gudim >From f621b6515740a279d51fc4ced

[llvm-branch-commits] [llvm] backport: [RISCV] Sources of vmerge shouldn't overlap V0 (#170070) (PR #170604)

2025-12-03 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-risc-v Author: Pengcheng Wang (wangpc-pp) Changes This PR contains two commits: 1. [RISCV] Sources of vmerge shouldn't overlap V0 (#170070)

[llvm-branch-commits] [llvm] backport: [RISCV] Sources of vmerge shouldn't overlap V0 (#170070) (PR #170604)

2025-12-03 Thread Pengcheng Wang via llvm-branch-commits
https://github.com/wangpc-pp milestoned https://github.com/llvm/llvm-project/pull/170604 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] backport: [RISCV] Sources of vmerge shouldn't overlap V0 (#170070) (PR #170604)

2025-12-03 Thread Pengcheng Wang via llvm-branch-commits
https://github.com/wangpc-pp edited https://github.com/llvm/llvm-project/pull/170604 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [libc++] Annotate classes with _LIBCPP_PFP to enable pointer field protection (PR #151652)

2025-12-03 Thread Peter Collingbourne via llvm-branch-commits
pcc wrote: Ping https://github.com/llvm/llvm-project/pull/151652 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [libcxx] Prepare libcxx and libcxxabi for pointer field protection. (PR #151651)

2025-12-03 Thread Peter Collingbourne via llvm-branch-commits
pcc wrote: Would appreciate another look, the clang changes are close to landing. https://github.com/llvm/llvm-project/pull/151651 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/l

[llvm-branch-commits] [clang] Add pointer field protection feature. (PR #133538)

2025-12-03 Thread Peter Collingbourne via llvm-branch-commits
pcc wrote: Ping, unblocked! 🎉 https://github.com/llvm/llvm-project/pull/133538 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] SROA: Recognize llvm.protected.field.ptr intrinsics. (PR #151650)

2025-12-03 Thread Peter Collingbourne via llvm-branch-commits
pcc wrote: Ping, now unblocked https://github.com/llvm/llvm-project/pull/151650 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] Utils: Inhibit load/store folding through phis for llvm.protected.field.ptr. (PR #151649)

2025-12-03 Thread Peter Collingbourne via llvm-branch-commits
https://github.com/pcc updated https://github.com/llvm/llvm-project/pull/151649 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] Utils: Inhibit load/store folding through phis for llvm.protected.field.ptr. (PR #151649)

2025-12-03 Thread Peter Collingbourne via llvm-branch-commits
https://github.com/pcc updated https://github.com/llvm/llvm-project/pull/151649 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] Add llvm.protected.field.ptr intrinsic and pre-ISel lowering. (PR #151647)

2025-12-03 Thread Florian Mayer via llvm-branch-commits
https://github.com/fmayer approved this pull request. https://github.com/llvm/llvm-project/pull/151647 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang] [clang] Use tighter lifetime bounds for C temporary arguments (PR #170518)

2025-12-03 Thread Paul Kirth via llvm-branch-commits
@@ -6291,6 +6296,11 @@ RValue CodeGenFunction::EmitCall(const CGFunctionInfo &CallInfo, for (CallLifetimeEnd &LifetimeEnd : CallLifetimeEndAfterCall) LifetimeEnd.Emit(*this, /*Flags=*/{}); + if (!CGM.getCodeGenOpts().NoLifetimeMarkersForTemporaries) il

[llvm-branch-commits] [clang] [llvm] [PowerPC] Add AMO load builtins for conditional increment/decrement (PR #169435)

2025-12-03 Thread Maryam Moghadas via llvm-branch-commits
https://github.com/maryammo updated https://github.com/llvm/llvm-project/pull/169435 >From bd03b46776be530b4201129575c3daa385582ac0 Mon Sep 17 00:00:00 2001 From: Maryam Moghadas Date: Fri, 21 Nov 2025 20:45:26 + Subject: [PATCH 1/2] [PowerPC] Add AMO load builtins for conditional incremen

[llvm-branch-commits] [clang] [clang] Use tighter lifetime bounds for C temporary arguments (PR #170518)

2025-12-03 Thread Paul Kirth via llvm-branch-commits
@@ -13,30 +13,27 @@ void test() { // CHECK: call void @llvm.lifetime.start.p0(ptr nonnull %[[AGG1]]) // CHECK: invoke void @_Z16func_that_throws7Trivial(ptr noundef nonnull byval(%struct.Trivial) align 8 %[[AGG1]]) - // CHECK-NEXT: to label %[[CONT1:.*]] unwind label %[[

[llvm-branch-commits] [clang] [clang] Use tighter lifetime bounds for C temporary arguments (PR #170518)

2025-12-03 Thread Paul Kirth via llvm-branch-commits
https://github.com/ilovepi updated https://github.com/llvm/llvm-project/pull/170518 >From f914b1f2e85260e540db8254c05a4afb945d73ff Mon Sep 17 00:00:00 2001 From: Paul Kirth Date: Tue, 2 Dec 2025 15:14:32 -0800 Subject: [PATCH 1/3] [clang] Use tighter lifetime bounds for C temporary arguments

[llvm-branch-commits] [clang] [clang] Use tighter lifetime bounds for C temporary arguments (PR #170518)

2025-12-03 Thread Paul Kirth via llvm-branch-commits
https://github.com/ilovepi updated https://github.com/llvm/llvm-project/pull/170518 >From f914b1f2e85260e540db8254c05a4afb945d73ff Mon Sep 17 00:00:00 2001 From: Paul Kirth Date: Tue, 2 Dec 2025 15:14:32 -0800 Subject: [PATCH 1/3] [clang] Use tighter lifetime bounds for C temporary arguments

[llvm-branch-commits] [llvm] DAG: Add overload of getExternalSymbol using RTLIB::LibcallImpl (PR #170587)

2025-12-03 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-llvm-selectiondag Author: Matt Arsenault (arsenm) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/170587.diff 5 Files Affected: - (modified) llvm/include/llvm/CodeGen/SelectionDAG.h (+1) - (modified) llvm/lib/CodeGen/SelectionDAG/L

[llvm-branch-commits] [llvm] DAG: Add overload of getExternalSymbol using RTLIB::LibcallImpl (PR #170587)

2025-12-03 Thread Matt Arsenault via llvm-branch-commits
arsenm 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.com/github/pr/llvm/llvm-project/170587?utm_source=stack-comment-downstack-mergeability-warning";

[llvm-branch-commits] [llvm] DAG: Add overload of getExternalSymbol using RTLIB::LibcallImpl (PR #170587)

2025-12-03 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm ready_for_review https://github.com/llvm/llvm-project/pull/170587 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] DAG: Add overload of getExternalSymbol using RTLIB::LibcallImpl (PR #170587)

2025-12-03 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm created https://github.com/llvm/llvm-project/pull/170587 None >From bf139da013f82d31cfee13e02b65c416b8575c17 Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Thu, 4 Dec 2025 01:39:58 +0100 Subject: [PATCH] DAG: Add overload of getExternalSymbol using RTLIB::Libcal

[llvm-branch-commits] [llvm] DAG: Avoid asserting on libcall action if function is unavailable (PR #170585)

2025-12-03 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm updated https://github.com/llvm/llvm-project/pull/170585 >From 5a47ed272b0243ac5d91aeeec032df4cb842477a Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Wed, 3 Dec 2025 23:50:44 +0100 Subject: [PATCH] DAG: Avoid asserting on libcall action if function is unavailabl

[llvm-branch-commits] [llvm] DAG: Avoid asserting on libcall action if function is unavailable (PR #170585)

2025-12-03 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 origin/main HEAD --extensions cpp -- llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTyp

[llvm-branch-commits] [clang] [OpenMP][Clang] Parsing/Sema support for `use_device_ptr(fb_preserve/fb_nullify)`. (PR #170578)

2025-12-03 Thread Abhinav Gaba via llvm-branch-commits
https://github.com/abhinavgaba updated https://github.com/llvm/llvm-project/pull/170578 >From 5a840934ddc9fb897a25ea0f90322e3ef20c5482 Mon Sep 17 00:00:00 2001 From: Abhinav Gaba Date: Mon, 1 Dec 2025 14:20:15 -0800 Subject: [PATCH 1/3] [OpenMP][Clang] Parsing/Sema support for `use_device_ptr(

[llvm-branch-commits] [llvm] DAG: Avoid asserting on libcall action if function is unavailable (PR #170585)

2025-12-03 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-llvm-selectiondag Author: Matt Arsenault (arsenm) Changes Eventually the set of available functions will be a program dependent property, which could diverge from the static table of functions for the subtarget. In that case, fall back to the usual expan

[llvm-branch-commits] [llvm] DAG: Add overload of makeLibCall which calls an RTLIB::LibcallImpl (PR #170584)

2025-12-03 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-llvm-selectiondag Author: Matt Arsenault (arsenm) Changes Logically the concrete implementation is what's being called, not the abstract libcall. Many uses conditionalize emitting the call on whether the call is available, so the caller and makeLibCall w

[llvm-branch-commits] [llvm] DAG: Avoid asserting on libcall action if function is unavailable (PR #170585)

2025-12-03 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm ready_for_review https://github.com/llvm/llvm-project/pull/170585 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] DAG: Add overload of makeLibCall which calls an RTLIB::LibcallImpl (PR #170584)

2025-12-03 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm ready_for_review https://github.com/llvm/llvm-project/pull/170584 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] DAG: Avoid using getLibcallName for function support test (PR #170583)

2025-12-03 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-llvm-selectiondag Author: Matt Arsenault (arsenm) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/170583.diff 3 Files Affected: - (modified) llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp (+4-4) - (modified) llvm/lib/CodeGen/Selecti

[llvm-branch-commits] [llvm] DAG: Add overload of makeLibCall which calls an RTLIB::LibcallImpl (PR #170584)

2025-12-03 Thread Matt Arsenault via llvm-branch-commits
arsenm 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.com/github/pr/llvm/llvm-project/170584?utm_source=stack-comment-downstack-mergeability-warning";

[llvm-branch-commits] [llvm] DAG: Avoid using getLibcallName for function support test (PR #170583)

2025-12-03 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm ready_for_review https://github.com/llvm/llvm-project/pull/170583 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] DAG: Avoid using getLibcallName for function support test (PR #170583)

2025-12-03 Thread Matt Arsenault via llvm-branch-commits
arsenm 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.com/github/pr/llvm/llvm-project/170583?utm_source=stack-comment-downstack-mergeability-warning";

[llvm-branch-commits] [llvm] DAG: Avoid asserting on libcall action if function is unavailable (PR #170585)

2025-12-03 Thread Matt Arsenault via llvm-branch-commits
arsenm 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.com/github/pr/llvm/llvm-project/170585?utm_source=stack-comment-downstack-mergeability-warning";

[llvm-branch-commits] [llvm] DAG: Avoid asserting on libcall action if function is unavailable (PR #170585)

2025-12-03 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm created https://github.com/llvm/llvm-project/pull/170585 Eventually the set of available functions will be a program dependent property, which could diverge from the static table of functions for the subtarget. In that case, fall back to the usual expansion. >From 4154

[llvm-branch-commits] [llvm] DAG: Add overload of makeLibCall which calls an RTLIB::LibcallImpl (PR #170584)

2025-12-03 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm created https://github.com/llvm/llvm-project/pull/170584 Logically the concrete implementation is what's being called, not the abstract libcall. Many uses conditionalize emitting the call on whether the call is available, so the caller and makeLibCall would both be chec

[llvm-branch-commits] [llvm] DAG: Avoid using getLibcallName for function support test (PR #170583)

2025-12-03 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm created https://github.com/llvm/llvm-project/pull/170583 None >From 064887b3b6efb968ae9131bd976b0727a0815cb2 Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Wed, 3 Dec 2025 23:09:09 +0100 Subject: [PATCH] DAG: Avoid using getLibcallName for function support test

[llvm-branch-commits] [clang] [compiler-rt] [llvm] release/21.x: [SPARC] Remove CCIfConsecutiveRegs for f128 returns (#170133) (PR #170580)

2025-12-03 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: None (llvmbot) Changes Backport 3e16aef2a650a8c2da4ebd5c58c6a9e261361828 3d598c33350a6691807441666f9c5014c18aff39 Requested by: @brad0 --- Patch is 43.77 KiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/llvm-pro

[llvm-branch-commits] [clang] [compiler-rt] [llvm] release/21.x: [SPARC] Remove CCIfConsecutiveRegs for f128 returns (#170133) (PR #170580)

2025-12-03 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-clang-codegen Author: None (llvmbot) Changes Backport 3e16aef2a650a8c2da4ebd5c58c6a9e261361828 3d598c33350a6691807441666f9c5014c18aff39 Requested by: @brad0 --- Patch is 43.77 KiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/

[llvm-branch-commits] [clang] [compiler-rt] [llvm] release/21.x: [SPARC] Remove CCIfConsecutiveRegs for f128 returns (#170133) (PR #170580)

2025-12-03 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-compiler-rt-sanitizer Author: None (llvmbot) Changes Backport 3e16aef2a650a8c2da4ebd5c58c6a9e261361828 3d598c33350a6691807441666f9c5014c18aff39 Requested by: @brad0 --- Patch is 43.77 KiB, truncated to 20.00 KiB below, full version: https://github.c

[llvm-branch-commits] [clang] [compiler-rt] [llvm] release/21.x: [SPARC] Remove CCIfConsecutiveRegs for f128 returns (#170133) (PR #170580)

2025-12-03 Thread via llvm-branch-commits
llvmbot wrote: @koachan @efriedma-quic What do you think about merging this PR to the release branch? https://github.com/llvm/llvm-project/pull/170580 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-b

[llvm-branch-commits] [clang] [compiler-rt] [llvm] release/21.x: [SPARC] Remove CCIfConsecutiveRegs for f128 returns (#170133) (PR #170580)

2025-12-03 Thread via llvm-branch-commits
https://github.com/llvmbot created https://github.com/llvm/llvm-project/pull/170580 Backport 3e16aef2a650a8c2da4ebd5c58c6a9e261361828 3d598c33350a6691807441666f9c5014c18aff39 Requested by: @brad0 >From 2fa6c5b27795693cc45821fa19d0804cdf91e4bc Mon Sep 17 00:00:00 2001 From: Koakuma Date: Sat,

[llvm-branch-commits] [clang] [compiler-rt] [llvm] release/21.x: [SPARC] Remove CCIfConsecutiveRegs for f128 returns (#170133) (PR #170580)

2025-12-03 Thread via llvm-branch-commits
https://github.com/llvmbot milestoned https://github.com/llvm/llvm-project/pull/170580 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang] [OpenMP][Clang] Parsing/Sema support for `use_device_ptr(fb_preserve/fb_nullify)`. (PR #170578)

2025-12-03 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 origin/main HEAD --extensions cpp,h -- clang/test/OpenMP/target_data_use_device_ptr_f

[llvm-branch-commits] [clang] [OpenMP][Clang] Parsing/Sema support for `use_device_ptr(fb_preserve/fb_nullify)`. (PR #170578)

2025-12-03 Thread Abhinav Gaba via llvm-branch-commits
https://github.com/abhinavgaba created https://github.com/llvm/llvm-project/pull/170578 Depends on #169603. This is the `use_device_ptr` counterpart of #168905. With OpenMP 6.1, a `fallback` modifier can be specified on the `use_device_ptr` clause to control the behavior when a pointer

[llvm-branch-commits] [clang] [clang] Use tighter lifetime bounds for C temporary arguments (PR #170518)

2025-12-03 Thread Paul Kirth via llvm-branch-commits
https://github.com/ilovepi updated https://github.com/llvm/llvm-project/pull/170518 >From 448fa8e34242c407915a2f1b7221a6fc0b3ecf07 Mon Sep 17 00:00:00 2001 From: Paul Kirth Date: Tue, 2 Dec 2025 15:14:32 -0800 Subject: [PATCH 1/2] [clang] Use tighter lifetime bounds for C temporary arguments

[llvm-branch-commits] [clang] [clang] Use tighter lifetime bounds for C temporary arguments (PR #170518)

2025-12-03 Thread Paul Kirth via llvm-branch-commits
https://github.com/ilovepi updated https://github.com/llvm/llvm-project/pull/170518 >From 448fa8e34242c407915a2f1b7221a6fc0b3ecf07 Mon Sep 17 00:00:00 2001 From: Paul Kirth Date: Tue, 2 Dec 2025 15:14:32 -0800 Subject: [PATCH 1/2] [clang] Use tighter lifetime bounds for C temporary arguments

[llvm-branch-commits] [clang-tools-extra] [clang-doc] Reorder struct fields to have less padding (PR #170222)

2025-12-03 Thread Paul Kirth via llvm-branch-commits
https://github.com/ilovepi updated https://github.com/llvm/llvm-project/pull/170222 >From bc90314a42dd9d17652107515ef7ff6ff0b802cd Mon Sep 17 00:00:00 2001 From: Paul Kirth Date: Tue, 25 Nov 2025 16:23:11 -0800 Subject: [PATCH] [clang-doc] Reorder struct fields to have less padding --- .../cl

[llvm-branch-commits] [clang-tools-extra] [clang-doc] Use static functions over the anonymous namespace (PR #170221)

2025-12-03 Thread Paul Kirth via llvm-branch-commits
https://github.com/ilovepi updated https://github.com/llvm/llvm-project/pull/170221 >From 05abefd202f401436b20f27e653cf9d2ea13bc63 Mon Sep 17 00:00:00 2001 From: Paul Kirth Date: Tue, 25 Nov 2025 16:29:39 -0800 Subject: [PATCH] [clang-doc] Use static functions over the anonymous namespace ---

[llvm-branch-commits] [clang-tools-extra] [clang-doc] Reorder struct fields to have less padding (PR #170222)

2025-12-03 Thread Paul Kirth via llvm-branch-commits
https://github.com/ilovepi updated https://github.com/llvm/llvm-project/pull/170222 >From bc90314a42dd9d17652107515ef7ff6ff0b802cd Mon Sep 17 00:00:00 2001 From: Paul Kirth Date: Tue, 25 Nov 2025 16:23:11 -0800 Subject: [PATCH] [clang-doc] Reorder struct fields to have less padding --- .../cl

[llvm-branch-commits] [clang-tools-extra] [clang-doc] Use static functions over the anonymous namespace (PR #170221)

2025-12-03 Thread Paul Kirth via llvm-branch-commits
https://github.com/ilovepi updated https://github.com/llvm/llvm-project/pull/170221 >From 05abefd202f401436b20f27e653cf9d2ea13bc63 Mon Sep 17 00:00:00 2001 From: Paul Kirth Date: Tue, 25 Nov 2025 16:29:39 -0800 Subject: [PATCH] [clang-doc] Use static functions over the anonymous namespace ---

[llvm-branch-commits] [clang] [clang] Use tighter lifetime bounds for C temporary arguments (PR #170518)

2025-12-03 Thread Paul Kirth via llvm-branch-commits
https://github.com/ilovepi updated https://github.com/llvm/llvm-project/pull/170518 >From 231df8a33e4972fa7bee4a8013face534b3f58fc Mon Sep 17 00:00:00 2001 From: Paul Kirth Date: Tue, 2 Dec 2025 15:14:32 -0800 Subject: [PATCH] [clang] Use tighter lifetime bounds for C temporary arguments In C,

[llvm-branch-commits] [clang] [clang] Use tighter lifetime bounds for C temporary arguments (PR #170518)

2025-12-03 Thread Paul Kirth via llvm-branch-commits
https://github.com/ilovepi updated https://github.com/llvm/llvm-project/pull/170518 >From 231df8a33e4972fa7bee4a8013face534b3f58fc Mon Sep 17 00:00:00 2001 From: Paul Kirth Date: Tue, 2 Dec 2025 15:14:32 -0800 Subject: [PATCH] [clang] Use tighter lifetime bounds for C temporary arguments In C,

  1   2   >