[llvm-branch-commits] [llvm] [AllocToken, Clang] Implement __builtin_alloc_token_infer() and llvm.alloc.token.id (PR #156842)

2025-09-11 Thread Marco Elver via llvm-branch-commits
https://github.com/melver updated https://github.com/llvm/llvm-project/pull/156842 >From 48227c8f7712b2dc807b252d18353c91905b1fb5 Mon Sep 17 00:00:00 2001 From: Marco Elver Date: Mon, 8 Sep 2025 17:19:04 +0200 Subject: [PATCH] fixup! Created using spr 1.3.8-beta.1 --- llvm/lib/Transforms/Inst

[llvm-branch-commits] [not] Update disable-symbolization.test to work with internal shell (PR #157236)

2025-09-11 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/157236 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [InstCombine] Set !prof metadata on selects (PR #157599)

2025-09-11 Thread Mircea Trofin via llvm-branch-commits
mtrofin wrote: > TBH I don't think selects should be validated by profcheck at all, only > branches. Some get lowered to branches later on - otherwise, yes, I'd also love to not worry about them. https://github.com/llvm/llvm-project/pull/157599 ___

[llvm-branch-commits] [llvm] release/21.x: [X86] Only fold AND/ANDNP back to VSELECT if we know the predicated mask select is legal (#156663) (PR #157047)

2025-09-11 Thread Tobias Hieta via llvm-branch-commits
https://github.com/tru updated https://github.com/llvm/llvm-project/pull/157047 >From 81d3b6ee82bfa49e4d7b7a03c0785fca4e820894 Mon Sep 17 00:00:00 2001 From: Simon Pilgrim Date: Wed, 3 Sep 2025 15:01:12 +0100 Subject: [PATCH] [X86] Only fold AND/ANDNP back to VSELECT if we know the predicated m

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

2025-09-11 Thread Peter Collingbourne via llvm-branch-commits
https://github.com/pcc updated 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] [libcxx] 0bbb936 - [libc++] Fix broken precondition of __bit_log2 (#155476)

2025-09-11 Thread Tobias Hieta via llvm-branch-commits
Author: Louis Dionne Date: 2025-09-09T10:33:32+02:00 New Revision: 0bbb93672952ea6d7fa7c06d084a69ffd623d7c8 URL: https://github.com/llvm/llvm-project/commit/0bbb93672952ea6d7fa7c06d084a69ffd623d7c8 DIFF: https://github.com/llvm/llvm-project/commit/0bbb93672952ea6d7fa7c06d084a69ffd623d7c8.diff

[llvm-branch-commits] [llvm] [Xtensa] Fix lowering FP compare operations. (PR #157520)

2025-09-11 Thread Andrei Safronov via llvm-branch-commits
https://github.com/andreisfr created https://github.com/llvm/llvm-project/pull/157520 Implement lowering of the SETONE/SETOGT/SETOGE/SETUGT/SETUGE operations. This fixes f32 "copysign" and "ueq" tests. >From dddc4b6181658586dcb8b56d9be8bdc4b2dca7ba Mon Sep 17 00:00:00 2001 From: Andrei Safrono

[llvm-branch-commits] [llvm] [Offload] Add GenericPluginTy::get_mem_info (PR #157484)

2025-09-11 Thread Jan Patrick Lehr via llvm-branch-commits
https://github.com/jplehr commented: I thought that the allocation would be done via the `MemoryManager` thing but I can be completely wrong. https://github.com/llvm/llvm-project/pull/157484 ___ llvm-branch-commits mailing list llvm-branch-commits@lis

[llvm-branch-commits] [llvm] release/21.x: [CMake][AIX] Enable CMP0182: Create shared library archives by default (#155686) (PR #156504)

2025-09-11 Thread Hubert Tong via llvm-branch-commits
https://github.com/hubert-reinterpretcast approved this pull request. LGTM! https://github.com/llvm/llvm-project/pull/156504 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-br

[llvm-branch-commits] [llvm] [flang][do concurent] Add saxpy offload tests for OpenMP mapping (PR #155993)

2025-09-11 Thread Kareem Ergawy via llvm-branch-commits
https://github.com/ergawy edited https://github.com/llvm/llvm-project/pull/155993 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang] [LifetimeSafety] Add support for GSL Pointer types (PR #154009)

2025-09-11 Thread Utkarsh Saxena via llvm-branch-commits
https://github.com/usx95 updated https://github.com/llvm/llvm-project/pull/154009 >From c41c73755ec7863d5fb90e3ff1eb62f0425e374e Mon Sep 17 00:00:00 2001 From: Utkarsh Saxena Date: Thu, 4 Sep 2025 14:27:37 + Subject: [PATCH 1/2] all-lvalues-have-origin >From 9702347310809f432644b76b36668f

[llvm-branch-commits] [llvm] [Offload] Add GenericPluginTy::get_mem_info (PR #157484)

2025-09-11 Thread Jan Patrick Lehr via llvm-branch-commits
@@ -517,6 +517,11 @@ struct GenELF64PluginTy final : public GenericPluginTy { #endif } + Expected get_memory_info(const void *TgtPtr) override { jplehr wrote: ```suggestion Expected getMemoryInfo(const void *TgtPtr) override { ``` https://github.com/llv

[llvm-branch-commits] [llvm] [MC] Rewrite stdin.s to use python (PR #157232)

2025-09-11 Thread Petr Hosek via llvm-branch-commits
@@ -0,0 +1,17 @@ +# RUN: echo "// comment" > %t.input +# RUN: which llvm-mc | %python %s %t + +import subprocess +import sys + +llvm_mc_binary = sys.stdin.readlines()[0].strip() +temp_file = sys.argv[1] petrhosek wrote: Shouldn't this be `sys.argv[2]`? `sys.argv[