[llvm-branch-commits] [clang] [flang] [lld] [llvm] [Flang] LLVM_ENABLE_RUNTIMES=flang-rt (PR #110217)

2024-11-19 Thread via llvm-branch-commits
h-vetinari wrote: Compiling this on linux with GCC/gfortran currently runs into the following for me ``` [347/371] Linking CXX executable bin/f18-parse-demo FAILED: bin/f18-parse-demo : && $BUILD_PREFIX/bin/x86_64-conda-linux-gnu-c++ -fvisibility-inlines-hidden -fmessage-length=0 -march=nocona

[llvm-branch-commits] [clang] [flang] [lld] [llvm] [Flang] LLVM_ENABLE_RUNTIMES=flang-rt (PR #110217)

2024-11-19 Thread Joseph Huber via llvm-branch-commits
@@ -150,12 +150,18 @@ if ("flang" IN_LIST LLVM_ENABLE_PROJECTS) endif() endif() +if ("flang-rt" IN_LIST LLVM_ENABLE_RUNTIMES) + if (NOT "flang" IN_LIST LLVM_ENABLE_PROJECTS) +message(FATAL_ERROR "Flang is not enabled, but is required for the Flang-RT runtime") + endif

[llvm-branch-commits] [clang] release/19.x: [ObjC] Name lookup in methods shouldn't allow shadowing types (#116683) (PR #116863)

2024-11-19 Thread via llvm-branch-commits
https://github.com/AreaZR updated https://github.com/llvm/llvm-project/pull/116863 >From 7df6033013ab2c72c396a38db02e30db2cafe075 Mon Sep 17 00:00:00 2001 From: Rose Date: Tue, 19 Nov 2024 14:50:47 -0500 Subject: [PATCH] [ObjC] Name lookup in methods shouldn't allow shadowing types (#116683)

[llvm-branch-commits] [llvm] AMDGPU: Optimize mfma_scale intrinsics with 0 inputs (PR #116724)

2024-11-19 Thread Shilei Tian via llvm-branch-commits
https://github.com/shiltian edited https://github.com/llvm/llvm-project/pull/116724 ___ 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] [flang] [llvm] [Flang][NFC] Move runtime library files to flang-rt. (PR #110298)

2024-11-19 Thread Valentin Clement バレンタイン クレメン via llvm-branch-commits
@@ -6,8 +6,7 @@ // //===--===// -#include "flang/Optimizer/Transforms/CUFOpConversion.h" -#include "flang/Common/Fortran.h" +#include "flang/Optimizer/Transforms/CufOpConversion.h" clementval

[llvm-branch-commits] [flang] [llvm] [Flang][NFC] Move runtime library files to flang-rt. (PR #110298)

2024-11-19 Thread via llvm-branch-commits
https://github.com/h-vetinari edited https://github.com/llvm/llvm-project/pull/110298 ___ 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] [flang] [llvm] [Flang][NFC] Move runtime library files to flang-rt. (PR #110298)

2024-11-19 Thread via llvm-branch-commits
@@ -6,8 +6,7 @@ // //===--===// -#include "flang/Optimizer/Transforms/CUFOpConversion.h" -#include "flang/Common/Fortran.h" +#include "flang/Optimizer/Transforms/CufOpConversion.h" h-vetinari

[llvm-branch-commits] [clang] release/19.x: [ObjC] Name lookup in methods shouldn't allow shadowing types (#116683) (PR #116863)

2024-11-19 Thread via llvm-branch-commits
https://github.com/AreaZR closed https://github.com/llvm/llvm-project/pull/116863 ___ 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] [flang] [lld] [llvm] [Flang] LLVM_ENABLE_RUNTIMES=flang-rt (PR #110217)

2024-11-19 Thread via llvm-branch-commits
@@ -150,12 +150,18 @@ if ("flang" IN_LIST LLVM_ENABLE_PROJECTS) endif() endif() +if ("flang-rt" IN_LIST LLVM_ENABLE_RUNTIMES) + if (NOT "flang" IN_LIST LLVM_ENABLE_PROJECTS) +message(FATAL_ERROR "Flang is not enabled, but is required for the Flang-RT runtime") + endif

[llvm-branch-commits] [llvm] [PassBuilder][CodeGen] Add callback style pass buider (PR #116913)

2024-11-19 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-x86 @llvm/pr-subscribers-backend-amdgpu Author: None (paperchalice) Changes In contrast to #89708, this pull request demonstrates a callback style codegen pipeline builder. Suggestions are welcome! It supports `-start/stop-after/before` by addi

[llvm-branch-commits] [llvm] [PassBuilder][CodeGen] Add callback style pass buider (PR #116913)

2024-11-19 Thread via llvm-branch-commits
https://github.com/paperchalice ready_for_review https://github.com/llvm/llvm-project/pull/116913 ___ 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] [PassBuilder][CodeGen] Add callback style pass buider (PR #116913)

2024-11-19 Thread via llvm-branch-commits
https://github.com/paperchalice edited https://github.com/llvm/llvm-project/pull/116913 ___ 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] [PassBuilder][CodeGen] Add callback style pass buider (PR #116913)

2024-11-19 Thread via llvm-branch-commits
paperchalice 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/116913?utm_source=stack-comment-downstack-mergeability-warn

[llvm-branch-commits] [llvm] [PassBuilder][CodeGen] Add callback style pass buider (PR #116913)

2024-11-19 Thread via llvm-branch-commits
https://github.com/paperchalice created https://github.com/llvm/llvm-project/pull/116913 None >From 169de4c80184f46482a61a9323dc41d6d5ac6807 Mon Sep 17 00:00:00 2001 From: PaperChalice Date: Wed, 20 Nov 2024 11:31:38 +0800 Subject: [PATCH] [PassBuilder][CodeGen] Add callback style pass buider

[llvm-branch-commits] [clang] [llvm] AMDGPU: Add v_mfma_i32_16x16x64_i8 for gfx950 (PR #116728)

2024-11-19 Thread Shilei Tian via llvm-branch-commits
https://github.com/shiltian edited https://github.com/llvm/llvm-project/pull/116728 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang] [llvm] AMDGPU: Add v_mfma_i32_16x16x64_i8 for gfx950 (PR #116728)

2024-11-19 Thread Shilei Tian via llvm-branch-commits
https://github.com/shiltian approved this pull request. https://github.com/llvm/llvm-project/pull/116728 ___ 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: Optimize mfma_scale intrinsics with 0 inputs (PR #116724)

2024-11-19 Thread Shilei Tian via llvm-branch-commits
https://github.com/shiltian approved this pull request. https://github.com/llvm/llvm-project/pull/116724 ___ 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] [compiler-rt] release/19.x: [compiler-rt] [test] Remove an unintended grep parameter (PR #116774)

2024-11-19 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-compiler-rt-sanitizer Author: None (llvmbot) Changes Backport c2717a89b8437d041d532c7b2c535ca4f4b35872 Requested by: @mstorsjo --- Full diff: https://github.com/llvm/llvm-project/pull/116774.diff 1 Files Affected: - (modified) compiler-rt/test/asan/

[llvm-branch-commits] [lld] [lld][Hexagon] Fix R_HEX_B22_PCREL range checks (#115925) (PR #116906)

2024-11-19 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-lld-elf Author: Brian Cain (androm3da) Changes Range checks for R_HEX_B22_PCREL did not account for the fact that offset is measured in instructions, not bytes. Add a test for all range-checked relocations. --- Full diff: https://github.com/llvm/llvm-

[llvm-branch-commits] [lld] [lld][Hexagon] Fix R_HEX_B22_PCREL range checks (#115925) (PR #116906)

2024-11-19 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-lld Author: Brian Cain (androm3da) Changes Range checks for R_HEX_B22_PCREL did not account for the fact that offset is measured in instructions, not bytes. Add a test for all range-checked relocations. --- Full diff: https://github.com/llvm/llvm-proj

[llvm-branch-commits] [lld] [lld][Hexagon] Fix R_HEX_B22_PCREL range checks (#115925) (PR #116906)

2024-11-19 Thread Brian Cain via llvm-branch-commits
androm3da wrote: Fixes #116798 https://github.com/llvm/llvm-project/pull/116906 ___ 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] [lld] [lld][Hexagon] Fix R_HEX_B22_PCREL range checks (#115925) (PR #116906)

2024-11-19 Thread Brian Cain via llvm-branch-commits
https://github.com/androm3da created https://github.com/llvm/llvm-project/pull/116906 Range checks for R_HEX_B22_PCREL did not account for the fact that offset is measured in instructions, not bytes. Add a test for all range-checked relocations. >From 6a1fd8a3eca7e4992d5053c18f3b3ef57bf2503c

[llvm-branch-commits] [AsmPrinter][CallGraphSection] Emit call graph section (PR #87576)

2024-11-19 Thread via llvm-branch-commits
https://github.com/Prabhuk updated https://github.com/llvm/llvm-project/pull/87576 ___ 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] [flang] [mlir] [Flang][OMP] Replace SUM intrinsic call with SUM operations (PR #113082)

2024-11-19 Thread Ivan R. Ivanov via llvm-branch-commits
https://github.com/ivanradanov closed https://github.com/llvm/llvm-project/pull/113082 ___ 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] [compiler-rt] release/19.x: [compiler-rt] [test] Remove an unintended grep parameter (PR #116774)

2024-11-19 Thread via llvm-branch-commits
github-actions[bot] wrote: Thank you for submitting a Pull Request (PR) to the LLVM Project! This PR will be automatically labeled and the relevant teams will be notified. If you wish to, you can add reviewers by using the "Reviewers" section on this page. If this is not working for you, it

[llvm-branch-commits] [clang] [PAC][Driver] Support ptrauth flags only on AArch64 Linux and ARM64 Darwin (PR #113152)

2024-11-19 Thread Daniil Kovalev via llvm-branch-commits
https://github.com/kovdan01 updated https://github.com/llvm/llvm-project/pull/113152 >From e610387c4f870518d9a06035cce1ce72a9fee32b Mon Sep 17 00:00:00 2001 From: Daniil Kovalev Date: Mon, 21 Oct 2024 12:18:56 +0300 Subject: [PATCH] [PAC][Driver] Support ptrauth flags only on ARM64 Darwin Most

[llvm-branch-commits] [clang] [PAC][Driver] Support ptrauth flags only on ARM64 Darwin (PR #113152)

2024-11-19 Thread Daniil Kovalev via llvm-branch-commits
https://github.com/kovdan01 edited https://github.com/llvm/llvm-project/pull/113152 ___ 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] [mlir] [mlir][bufferization] Remove remaining dialect conversion-based infra parts (PR #114155)

2024-11-19 Thread Javed Absar via llvm-branch-commits
@@ -11,6 +11,8 @@ //===--===// #include "mlir/Dialect/Bufferization/Transforms/BufferUtils.h" + javedabsar1 wrote: is the extra blank line preventing clang-format from sorting the headers.

[llvm-branch-commits] [mlir] [mlir][bufferization] Remove remaining dialect conversion-based infra parts (PR #114155)

2024-11-19 Thread Javed Absar via llvm-branch-commits
https://github.com/javedabsar1 requested changes to this pull request. https://github.com/llvm/llvm-project/pull/114155 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-

[llvm-branch-commits] [mlir] [mlir][bufferization] Remove remaining dialect conversion-based infra parts (PR #114155)

2024-11-19 Thread Javed Absar via llvm-branch-commits
@@ -138,8 +140,8 @@ bufferization::getGlobalFor(arith::ConstantOp constantOp, uint64_t alignment, alignment > 0 ? IntegerAttr::get(globalBuilder.getI64Type(), alignment) : IntegerAttr(); - BufferizeTypeConverter typeConverter; javed

[llvm-branch-commits] [clang] [PAC][Driver] Support ptrauth flags only on ARM64 Darwin (PR #113152)

2024-11-19 Thread Daniil Kovalev via llvm-branch-commits
kovdan01 wrote: @MaskRay As discussed in https://github.com/llvm/llvm-project/pull/96160#issuecomment-2468793288, this drops support for ptrauth driver flags, but with an exception for apple targets - to the best of my knowledge, they have use cases for them. Also tagging @ahmedbougacha Not

[llvm-branch-commits] [llvm] [CallSiteInfo][CallGraphSection] Extract and propagate indirect call type ids (PR #87575)

2024-11-19 Thread Paul Kirth via llvm-branch-commits
@@ -488,6 +490,35 @@ class LLVM_EXTERNAL_VISIBILITY MachineFunction { /// Callee type id. ConstantInt *TypeId = nullptr; + +CallSiteInfo() {} + +/// Extracts the numeric type id from the CallBase's type operand bundle, +/// and sets TypeId. This is used as

[llvm-branch-commits] [llvm] [CallSiteInfo][CallGraphSection] Extract and propagate indirect call type ids (PR #87575)

2024-11-19 Thread via llvm-branch-commits
https://github.com/Prabhuk updated https://github.com/llvm/llvm-project/pull/87575 >From 1a8d810d352fbe84c0521c7614689b60ade693c8 Mon Sep 17 00:00:00 2001 From: Necip Fazil Yildiran Date: Tue, 19 Nov 2024 15:25:34 -0800 Subject: [PATCH] Fixed the tests and addressed most of the review comments.

[llvm-branch-commits] [llvm] [CallSiteInfo][CallGraphSection] Extract and propagate indirect call type ids (PR #87575)

2024-11-19 Thread via llvm-branch-commits
@@ -488,6 +490,35 @@ class LLVM_EXTERNAL_VISIBILITY MachineFunction { /// Callee type id. ConstantInt *TypeId = nullptr; + +CallSiteInfo() {} + +/// Extracts the numeric type id from the CallBase's type operand bundle, +/// and sets TypeId. This is used as

[llvm-branch-commits] [llvm] [CallSiteInfo][CallGraphSection] Extract and propagate indirect call type ids (PR #87575)

2024-11-19 Thread via llvm-branch-commits
@@ -488,6 +490,38 @@ class LLVM_EXTERNAL_VISIBILITY MachineFunction { /// Callee type id. ConstantInt *TypeId = nullptr; + +CallSiteInfo() {} + +/// Extracts the numeric type id from the CallBase's type operand bundle, +/// and sets TypeId. This is used as

[llvm-branch-commits] [AsmPrinter][CallGraphSection] Emit call graph section (PR #87576)

2024-11-19 Thread via llvm-branch-commits
https://github.com/Prabhuk updated https://github.com/llvm/llvm-project/pull/87576 ___ 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] [NVPTX] Promote v2i8 to v2i16 (#111189) (PR #115081)

2024-11-19 Thread Artem Belevich via llvm-branch-commits
Artem-B wrote: Done. https://github.com/llvm/llvm-project/pull/115081 ___ 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] Use unique_ptr in SparseSet (PR #116617)

2024-11-19 Thread Akshat Oke via llvm-branch-commits
https://github.com/optimisan updated https://github.com/llvm/llvm-project/pull/116617 >From 6ef46d12e2238a470140a0bfba100174415fbc9d Mon Sep 17 00:00:00 2001 From: Akshat Oke Date: Mon, 18 Nov 2024 10:15:19 + Subject: [PATCH 1/2] [NFC] Use unique_ptr in SparseSet This allows implementing t

[llvm-branch-commits] [RISCV] Set DisableLatencyHeuristic to true (PR #115858)

2024-11-19 Thread Min-Yih Hsu via llvm-branch-commits
https://github.com/mshockwave edited https://github.com/llvm/llvm-project/pull/115858 ___ 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] [NVPTX] Promote v2i8 to v2i16 (#111189) (PR #115081)

2024-11-19 Thread Artem Belevich via llvm-branch-commits
https://github.com/Artem-B updated https://github.com/llvm/llvm-project/pull/115081 >From 02930b87faeb490505b22f588757a18744248b6f Mon Sep 17 00:00:00 2001 From: Manasij Mukherjee Date: Fri, 4 Oct 2024 15:15:30 -0600 Subject: [PATCH] [NVPTX] Promote v2i8 to v2i16 (#89) Promote v2i8 to v2i1

[llvm-branch-commits] [llvm] [NVPTX] Promote v2i8 to v2i16 (#111189) (PR #115081)

2024-11-19 Thread Artem Belevich via llvm-branch-commits
https://github.com/Artem-B updated https://github.com/llvm/llvm-project/pull/115081 >From e0a9e99b9efbeae7eb975cc4ebaf1805566195f6 Mon Sep 17 00:00:00 2001 From: Manasij Mukherjee Date: Fri, 4 Oct 2024 15:15:30 -0600 Subject: [PATCH] [NVPTX] Promote v2i8 to v2i16 (#89) Promote v2i8 to v2i1

[llvm-branch-commits] [llvm] release/19.x: [WebAssembly] Fix rethrow's index calculation (#114693) (PR #115844)

2024-11-19 Thread Heejin Ahn via llvm-branch-commits
aheejin wrote: > @aheejin (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. WebAsse

[llvm-branch-commits] [RISCV] Set DisableLatencyHeuristic to true (PR #115858)

2024-11-19 Thread Min-Yih Hsu via llvm-branch-commits
https://github.com/mshockwave approved this pull request. LGTM . I do have some minor questions but they're not blocking. https://github.com/llvm/llvm-project/pull/115858 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://l

[llvm-branch-commits] [RISCV] Set DisableLatencyHeuristic to true (PR #115858)

2024-11-19 Thread Min-Yih Hsu via llvm-branch-commits
@@ -354,30 +354,51 @@ define @select_nxv32i32( %a, https://github.com/llvm/llvm-project/pull/115858 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-comm

[llvm-branch-commits] [clang] [PAC][clang] Add new features to pauthtest ABI (PR #113150)

2024-11-19 Thread Daniil Kovalev via llvm-branch-commits
https://github.com/kovdan01 updated https://github.com/llvm/llvm-project/pull/113150 >From c1ad05b926befb687937d89d52fb4212beb9631e Mon Sep 17 00:00:00 2001 From: Daniil Kovalev Date: Mon, 21 Oct 2024 10:58:04 +0300 Subject: [PATCH] [PAC][clang] Add new features to pauthtest ABI Enable init/fi

[llvm-branch-commits] [flang] [flang][OpenMP] Apply modifier representation to semantic checks (PR #116658)

2024-11-19 Thread Krzysztof Parzyszek via llvm-branch-commits
kparzysz wrote: The stack: 1. https://github.com/llvm/llvm-project/pull/116655 2. https://github.com/llvm/llvm-project/pull/116656 3. https://github.com/llvm/llvm-project/pull/116658 **(this PR)** https://github.com/llvm/llvm-project/pull/116658 ___ ll

[llvm-branch-commits] [llvm] [NFC] Use unique_ptr in SparseSet (PR #116617)

2024-11-19 Thread David Blaikie via llvm-branch-commits
https://github.com/dwblaikie approved this pull request. LGTM - thanks! https://github.com/llvm/llvm-project/pull/116617 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch

[llvm-branch-commits] [clang] release/19.x: [ObjC] Name lookup in methods shouldn't allow shadowing types (#116683) (PR #116863)

2024-11-19 Thread via llvm-branch-commits
github-actions[bot] wrote: ⚠️ We detected that you are using a GitHub private e-mail address to contribute to the repo. Please turn off [Keep my email addresses private](https://github.com/settings/emails) setting in your account. See [LLVM Discourse](https://discourse.llvm.org/t/hidden-email

[llvm-branch-commits] [llvm] AMDGPU: Define v_mfma_f32_{16x16x128|32x32x64}_f8f6f4 instructions (PR #116723)

2024-11-19 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm commented: Going to put this one off to reduce future conflicts https://github.com/llvm/llvm-project/pull/116723 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/l

[llvm-branch-commits] [clang] release/19.x: [ObjC] Name lookup in methods shouldn't allow shadowing types (#116683) (PR #116861)

2024-11-19 Thread via llvm-branch-commits
https://github.com/AreaZR edited https://github.com/llvm/llvm-project/pull/116861 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] release/19.x: [InstCombine] Drop noundef attributes in `foldCttzCtlz` (#116718) (PR #116865)

2024-11-19 Thread via llvm-branch-commits
https://github.com/AreaZR created https://github.com/llvm/llvm-project/pull/116865 Closes https://github.com/llvm/llvm-project/issues/112068. (cherry picked from commit a59976bea8ad76f18119a11391dc8ba3e6ba07d5) >From 5151407d883ae72f17c058c9b9823586913ac249 Mon Sep 17 00:00:00 2001 From: Yingw

[llvm-branch-commits] [llvm] release/19.x: [ConstantFolding] Set signed/implicitTrunc when handling GEP offsets (PR #116864)

2024-11-19 Thread via llvm-branch-commits
https://github.com/AreaZR closed https://github.com/llvm/llvm-project/pull/116864 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] release/19.x: [ConstantFolding] Set signed/implicitTrunc when handling GEP offsets (PR #116864)

2024-11-19 Thread via llvm-branch-commits
AreaZR wrote: I am done finding things to backport to 19.x. Hopefully we do like one more round and release 19.1.6 but yeah. https://github.com/llvm/llvm-project/pull/116864 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org http

[llvm-branch-commits] [llvm] release/19.x: [ConstantFolding] Set signed/implicitTrunc when handling GEP offsets (PR #116864)

2024-11-19 Thread via llvm-branch-commits
https://github.com/AreaZR edited https://github.com/llvm/llvm-project/pull/116864 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] release/19.x: [InstCombine] Drop noundef attributes in `foldCttzCtlz` (#116718) (PR #116865)

2024-11-19 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-llvm-transforms Author: Rose (AreaZR) Changes Closes https://github.com/llvm/llvm-project/issues/112068. (cherry picked from commit a59976bea8ad76f18119a11391dc8ba3e6ba07d5) --- Full diff: https://github.com/llvm/llvm-project/pull/116865.diff 2 Files

[llvm-branch-commits] [llvm] [ConstantFolding] Set signed/implicitTrunc when handling GEP offsets (PR #116864)

2024-11-19 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-llvm-analysis Author: Rose (AreaZR) Changes GEP offsets have sext_or_trunc semantics. We were already doing this for the outer-most GEP, but not for the inner ones. I believe one of the sanitizer buildbot failures was due to this, but I did not manage

[llvm-branch-commits] [llvm] [ConstantFolding] Set signed/implicitTrunc when handling GEP offsets (PR #116864)

2024-11-19 Thread via llvm-branch-commits
https://github.com/AreaZR created https://github.com/llvm/llvm-project/pull/116864 GEP offsets have sext_or_trunc semantics. We were already doing this for the outer-most GEP, but not for the inner ones. I believe one of the sanitizer buildbot failures was due to this, but I did not manage to

[llvm-branch-commits] [clang] release/19.x: [ObjC] Name lookup in methods shouldn't allow shadowing types (#116683) (PR #116863)

2024-11-19 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Rose (AreaZR) Changes Arguably as a bug, Clang has previously not mixed up Objective-C parameter names with types. This allows developers to write parameter names that _should_ shadow type names, but don't. For instance: @interface F

[llvm-branch-commits] [clang] release/19.x: [ObjC] Name lookup in methods shouldn't allow shadowing types (#116683) (PR #116863)

2024-11-19 Thread via llvm-branch-commits
https://github.com/AreaZR edited https://github.com/llvm/llvm-project/pull/116863 ___ 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] [ObjC] Name lookup in methods shouldn't allow shadowing types (#116683) (PR #116863)

2024-11-19 Thread via llvm-branch-commits
https://github.com/AreaZR created https://github.com/llvm/llvm-project/pull/116863 Arguably as a bug, Clang has previously not mixed up Objective-C parameter names with types. This allows developers to write parameter names that _should_ shadow type names, but don't. For instance: @interf

[llvm-branch-commits] [flang] [llvm] [flang][OpenMP] Change clause modifier representation in parser (PR #116656)

2024-11-19 Thread Krzysztof Parzyszek via llvm-branch-commits
kparzysz wrote: The stack: 1. https://github.com/llvm/llvm-project/pull/116655 2. https://github.com/llvm/llvm-project/pull/116656 **(this PR)** 3. https://github.com/llvm/llvm-project/pull/116658 https://github.com/llvm/llvm-project/pull/116656 ___ ll

[llvm-branch-commits] [llvm] release/19.x: [SDAG][ISel][TableGen][LoongArch] Report error for trivial bitcasts when there are predicate calls (#116075) (PR #116797)

2024-11-19 Thread via llvm-branch-commits
github-actions[bot] wrote: Thank you for submitting a Pull Request (PR) to the LLVM Project! This PR will be automatically labeled and the relevant teams will be notified. If you wish to, you can add reviewers by using the "Reviewers" section on this page. If this is not working for you, it

[llvm-branch-commits] [llvm] [CodeGen][NewPM] Port MachineSink to NPM (PR #115434)

2024-11-19 Thread Matt Arsenault via llvm-branch-commits
@@ -127,6 +130,8 @@ class MachineSinking : public MachineFunctionPass { const MachineBranchProbabilityInfo *MBPI = nullptr; AliasAnalysis *AA = nullptr; RegisterClassInfo RegClassInfo; + Pass *LegacyPass; + MachineFunctionAnalysisManager *MFAM; arsenm w

[llvm-branch-commits] [llvm] release/19.x: [SDAG][ISel][TableGen][LoongArch] Report error for trivial bitcasts when there are predicate calls (#116075) (PR #116797)

2024-11-19 Thread Craig Topper via llvm-branch-commits
https://github.com/topperc approved this pull request. LGTM https://github.com/llvm/llvm-project/pull/116797 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] release/19.x: [SDAG][ISel][TableGen][LoongArch] Report error for trivial bitcasts when there are predicate calls (#116075) (PR #116797)

2024-11-19 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm approved this pull request. https://github.com/llvm/llvm-project/pull/116797 ___ 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] [PAC][Driver] Support ptrauth flags only on ARM64 Darwin (PR #113152)

2024-11-19 Thread Daniil Kovalev via llvm-branch-commits
https://github.com/kovdan01 edited https://github.com/llvm/llvm-project/pull/113152 ___ 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] [PAC][clang] Handle pauthtest environment and ABI in Linux-specific code (PR #113151)

2024-11-19 Thread Daniil Kovalev via llvm-branch-commits
https://github.com/kovdan01 updated https://github.com/llvm/llvm-project/pull/113151 >From 5fb854a97bbf65290bb1e16942126b5505e4face Mon Sep 17 00:00:00 2001 From: Daniil Kovalev Date: Mon, 21 Oct 2024 12:00:19 +0300 Subject: [PATCH] [PAC][clang] Handle pauthtest environment and ABI in Linux-sp

[llvm-branch-commits] [llvm] release/19.x: [InstCombine] Handle constant GEP expr in `SimplifyDemandedUseBits` (#116794) (PR #116814)

2024-11-19 Thread Nikita Popov via llvm-branch-commits
https://github.com/nikic approved this pull request. https://github.com/llvm/llvm-project/pull/116814 ___ 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] [NVPTX] Promote v2i8 to v2i16 (#111189) (PR #115081)

2024-11-19 Thread Tobias Hieta via llvm-branch-commits
tru wrote: Can you back out the merge commit? It needs to be rebased in order to go in cleanly with our scripts. https://github.com/llvm/llvm-project/pull/115081 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llv

[llvm-branch-commits] [clang] release/19.x: [clang-repl] Improve flags responsible for generating shared wasm binaries (#116735) (PR #116766)

2024-11-19 Thread Anutosh Bhat via llvm-branch-commits
anutosh491 wrote: > It's going into 19.1.5 in two weeks. I have already finalized 19.1.4. Sure do we have a finalized date for `19.1.4` ? https://github.com/llvm/llvm-project/pull/116766 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.l

[llvm-branch-commits] [llvm] release/19.x: [InstCombine] Handle constant GEP expr in `SimplifyDemandedUseBits` (#116794) (PR #116814)

2024-11-19 Thread Yingwei Zheng via llvm-branch-commits
dtcxzyw wrote: @tstellar We should disable the greeter for PRs created by llvmbot. https://github.com/llvm/llvm-project/pull/116814 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo

[llvm-branch-commits] [clang] [llvm] [RISCV] Support __builtin_cpu_is (PR #116231)

2024-11-19 Thread Sam Elliott via llvm-branch-commits
@@ -58,6 +58,19 @@ bool hasFastVectorUnalignedAccess(StringRef CPU) { return Info && Info->FastVectorUnalignedAccess; } +bool hasValidCPUModel(StringRef CPU) { + const CPUModel CPUModel = getCPUModel(CPU); + return CPUModel.MVendorID != 0 && CPUModel.MArchID != 0 && --

[llvm-branch-commits] [mlir] 949884c - Revert "[MLIR] Add callback functions for ModuleToObject (#116007)"

2024-11-19 Thread via llvm-branch-commits
Author: Mehdi Amini Date: 2024-11-19T15:28:00+01:00 New Revision: 949884cd2246a4ef36a03c00f8ba6b914d82bc8f URL: https://github.com/llvm/llvm-project/commit/949884cd2246a4ef36a03c00f8ba6b914d82bc8f DIFF: https://github.com/llvm/llvm-project/commit/949884cd2246a4ef36a03c00f8ba6b914d82bc8f.diff L

[llvm-branch-commits] [llvm] release/19.x: [SDAG][ISel][TableGen][LoongArch] Report error for trivial bitcasts when there are predicate calls (#116075) (PR #116797)

2024-11-19 Thread via llvm-branch-commits
https://github.com/llvmbot created https://github.com/llvm/llvm-project/pull/116797 Backport 2f4572f5e7e2d7f4626e825404c11f07d191fb05 c727b48287cc96888f9e262f23d53cf635cf3b3d Requested by: @dtcxzyw >From 0dcfce5c6d5501d8358045a5eee109a35bfcdab1 Mon Sep 17 00:00:00 2001 From: Craig Topper Dat

[llvm-branch-commits] [llvm] release/19.x: [SDAG][ISel][TableGen][LoongArch] Report error for trivial bitcasts when there are predicate calls (#116075) (PR #116797)

2024-11-19 Thread via llvm-branch-commits
https://github.com/llvmbot milestoned https://github.com/llvm/llvm-project/pull/116797 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] release/19.x: [SDAG][ISel][TableGen][LoongArch] Report error for trivial bitcasts when there are predicate calls (#116075) (PR #116797)

2024-11-19 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-loongarch Author: None (llvmbot) Changes Backport 2f4572f5e7e2d7f4626e825404c11f07d191fb05 c727b48287cc96888f9e262f23d53cf635cf3b3d Requested by: @dtcxzyw --- Full diff: https://github.com/llvm/llvm-project/pull/116797.diff 8 Files Affected:

[llvm-branch-commits] [llvm] release/19.x: [SDAG][ISel][TableGen][LoongArch] Report error for trivial bitcasts when there are predicate calls (#116075) (PR #116797)

2024-11-19 Thread via llvm-branch-commits
llvmbot wrote: @arsenm @topperc What do you think about merging this PR to the release branch? https://github.com/llvm/llvm-project/pull/116797 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailm

[llvm-branch-commits] release/19.x: [compiler-rt] Remove SHA2 interceptions for NetBSD/Free… (PR #111725)

2024-11-19 Thread Tobias Hieta via llvm-branch-commits
https://github.com/tru updated https://github.com/llvm/llvm-project/pull/111725 ___ 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-repl] Improve flags responsible for generating shared wasm binaries (#116735) (PR #116766)

2024-11-19 Thread Vassil Vassilev via llvm-branch-commits
https://github.com/vgvassilev approved this pull request. This is a low-risk change in use by external wasm users... https://github.com/llvm/llvm-project/pull/116766 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.

[llvm-branch-commits] [compiler-rt] release/19.x: [compiler-rt] [test] Remove an unintended grep parameter (PR #116774)

2024-11-19 Thread Martin Storsjö via llvm-branch-commits
mstorsjo wrote: Self-approving here (as the patch itself was pushed directly bypassing review) - but this is kinda small and near-trivial, and the relevant commit has been in git main for almost a month without any issues. https://github.com/llvm/llvm-project/pull/116774 __

[llvm-branch-commits] [compiler-rt] release/19.x: [compiler-rt] [test] Remove an unintended grep parameter (PR #116774)

2024-11-19 Thread via llvm-branch-commits
https://github.com/llvmbot milestoned https://github.com/llvm/llvm-project/pull/116774 ___ 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] [compiler-rt] release/19.x: [compiler-rt] [test] Remove an unintended grep parameter (PR #116774)

2024-11-19 Thread via llvm-branch-commits
https://github.com/llvmbot created https://github.com/llvm/llvm-project/pull/116774 Backport c2717a89b8437d041d532c7b2c535ca4f4b35872 Requested by: @mstorsjo >From c67ce844315f1df45c0f311dab6f1a9c365afc30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Storsj=C3=B6?= Date: Sun, 20 Oct 2024

[llvm-branch-commits] release/19.x: [compiler-rt] Remove SHA2 interceptions for NetBSD/Free… (PR #111725)

2024-11-19 Thread Tobias Hieta via llvm-branch-commits
https://github.com/tru closed https://github.com/llvm/llvm-project/pull/111725 ___ 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] [compiler-rt] release/19.x: Reapply "[sanitizer_common] AND signals in BlockSignals instead of deleting (#113443)" for non-Android Linux only (#115790) (PR #116670)

2024-11-19 Thread via llvm-branch-commits
github-actions[bot] wrote: @llvmbot Congratulations on having your first Pull Request (PR) merged into the LLVM Project! Your changes will be combined with recent changes from other authors, then tested by our [build bots](https://lab.llvm.org/buildbot/). If there is a problem with a build,

[llvm-branch-commits] [llvm] release/19.x: [WebAssembly] Fix rethrow's index calculation (#114693) (PR #115844)

2024-11-19 Thread via llvm-branch-commits
github-actions[bot] wrote: @aheejin (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. h

[llvm-branch-commits] [llvm] release/19.x: [WebAssembly] Fix rethrow's index calculation (#114693) (PR #115844)

2024-11-19 Thread Tobias Hieta via llvm-branch-commits
https://github.com/tru closed https://github.com/llvm/llvm-project/pull/115844 ___ 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] aadaa00 - [WebAssembly] Fix rethrow's index calculation (#114693)

2024-11-19 Thread Tobias Hieta via llvm-branch-commits
Author: Heejin Ahn Date: 2024-11-19T09:08:07+01:00 New Revision: aadaa00de76ed0c4987b97450dd638f63a385bed URL: https://github.com/llvm/llvm-project/commit/aadaa00de76ed0c4987b97450dd638f63a385bed DIFF: https://github.com/llvm/llvm-project/commit/aadaa00de76ed0c4987b97450dd638f63a385bed.diff LO

[llvm-branch-commits] [compiler-rt] release/19.x: Reapply "[sanitizer_common] AND signals in BlockSignals instead of deleting (#113443)" for non-Android Linux only (#115790) (PR #116670)

2024-11-19 Thread via llvm-branch-commits
github-actions[bot] wrote: @thurstond (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] [compiler-rt] release/19.x: Reapply "[sanitizer_common] AND signals in BlockSignals instead of deleting (#113443)" for non-Android Linux only (#115790) (PR #116670)

2024-11-19 Thread Tobias Hieta via llvm-branch-commits
https://github.com/tru closed https://github.com/llvm/llvm-project/pull/116670 ___ 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] [compiler-rt] 6925f3c - Reapply "[sanitizer_common] AND signals in BlockSignals instead of deleting (#113443)" for non-Android Linux only (#115790)

2024-11-19 Thread via llvm-branch-commits
Author: Thurston Dang Date: 2024-11-18T18:16:21Z New Revision: 6925f3c7c7d8b83e2195cb8e473eccdecae42607 URL: https://github.com/llvm/llvm-project/commit/6925f3c7c7d8b83e2195cb8e473eccdecae42607 DIFF: https://github.com/llvm/llvm-project/commit/6925f3c7c7d8b83e2195cb8e473eccdecae42607.diff LOG:

[llvm-branch-commits] release/19.x: [compiler-rt] Remove SHA2 interceptions for NetBSD/Free… (PR #111725)

2024-11-19 Thread Tobias Hieta via llvm-branch-commits
tru wrote: This was already in the release branch as 16c2aae4f6163c1eb7321afd1cd3cdb781fe1727 https://github.com/llvm/llvm-project/pull/111725 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailm