[llvm-branch-commits] [llvm] MachineVerifier: Check stack protector is top-most in frame (PR #122635)

2025-01-12 Thread Guy David via llvm-branch-commits
https://github.com/guy-david edited https://github.com/llvm/llvm-project/pull/122635 ___ 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] DAG: Avoid forming shufflevector from a single extract_vector_elt (PR #122672)

2025-01-12 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm ready_for_review https://github.com/llvm/llvm-project/pull/122672 ___ 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] DAG: Avoid forming shufflevector from a single extract_vector_elt (PR #122672)

2025-01-12 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-llvm-selectiondag Author: Matt Arsenault (arsenm) Changes This avoids regressions in a future AMDGPU commit. Previously we would have a build_vector (extract_vector_elt x), undef with free access to the elements bloated into a shuffle of one element + un

[llvm-branch-commits] [llvm] AMDGPU: Implement isExtractVecEltCheap (PR #122460)

2025-01-12 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm updated https://github.com/llvm/llvm-project/pull/122460 >From b93cb29230bde4ea2bb6577c56af81305f617920 Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Fri, 10 Jan 2025 14:57:24 +0700 Subject: [PATCH] AMDGPU: Implement isExtractVecEltCheap Once again we have exces

[llvm-branch-commits] [llvm] DAG: Avoid forming shufflevector from a single extract_vector_elt (PR #122672)

2025-01-12 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.dev/github/pr/llvm/llvm-project/122672?utm_source=stack-comment-downstack-mergeability-warning";

[llvm-branch-commits] [llvm] DAG: Avoid forming shufflevector from a single extract_vector_elt (PR #122672)

2025-01-12 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm created https://github.com/llvm/llvm-project/pull/122672 This avoids regressions in a future AMDGPU commit. Previously we would have a build_vector (extract_vector_elt x), undef with free access to the elements bloated into a shuffle of one element + undef, which has mu

[llvm-branch-commits] [llvm] DAG: Handle load in SimplifyDemandedVectorElts (PR #122671)

2025-01-12 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-llvm-selectiondag Author: Matt Arsenault (arsenm) Changes This improves some AMDGPU cases and avoids future regressions. The combiner likes to form shuffles for cases where an extract_vector_elt would do perfectly well, and this recovers some of the regr

[llvm-branch-commits] [llvm] DAG: Handle load in SimplifyDemandedVectorElts (PR #122671)

2025-01-12 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm ready_for_review https://github.com/llvm/llvm-project/pull/122671 ___ 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] DAG: Handle load in SimplifyDemandedVectorElts (PR #122671)

2025-01-12 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.dev/github/pr/llvm/llvm-project/122671?utm_source=stack-comment-downstack-mergeability-warning";

[llvm-branch-commits] [clang] [llvm] [IR] Add FPOperation intrinsic property (PR #122313)

2025-01-12 Thread Serge Pavlov via llvm-branch-commits
spavloff wrote: This attribute is needed only for validation of FP operand bundles, to check if a call may have such bundles. It addresses the concern that a call should have FP bundles only when they make sense for the called function (e.g. https://github.com/llvm/llvm-project/pull/118253#dis

[llvm-branch-commits] [llvm] ad21c47 - Revert "[RISCV] Rework memcpy test (#120364)"

2025-01-12 Thread via llvm-branch-commits
Author: Pengcheng Wang Date: 2025-01-13T11:34:54+08:00 New Revision: ad21c47ef81ed15630d556521d0900ff658b9108 URL: https://github.com/llvm/llvm-project/commit/ad21c47ef81ed15630d556521d0900ff658b9108 DIFF: https://github.com/llvm/llvm-project/commit/ad21c47ef81ed15630d556521d0900ff658b9108.diff

[llvm-branch-commits] [llvm] ad21c47 - Revert "[RISCV] Rework memcpy test (#120364)"

2025-01-12 Thread via llvm-branch-commits
Author: Pengcheng Wang Date: 2025-01-13T11:34:54+08:00 New Revision: ad21c47ef81ed15630d556521d0900ff658b9108 URL: https://github.com/llvm/llvm-project/commit/ad21c47ef81ed15630d556521d0900ff658b9108 DIFF: https://github.com/llvm/llvm-project/commit/ad21c47ef81ed15630d556521d0900ff658b9108.diff

[llvm-branch-commits] [llvm] DAG: Fold bitcast of scalar_to_vector to anyext (PR #122660)

2025-01-12 Thread Shilei Tian via llvm-branch-commits
https://github.com/shiltian edited https://github.com/llvm/llvm-project/pull/122660 ___ 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] DAG: Fold bitcast of scalar_to_vector to anyext (PR #122660)

2025-01-12 Thread Shilei Tian via llvm-branch-commits
https://github.com/shiltian approved this pull request. https://github.com/llvm/llvm-project/pull/122660 ___ 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] DAG: Fold bitcast of scalar_to_vector to anyext (PR #122660)

2025-01-12 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-llvm-selectiondag Author: Matt Arsenault (arsenm) Changes scalar_to_vector is difficult to make appear and test, but I found one case where this makes an observable difference. It fires more often than this in the test suite, but most of them have no net

[llvm-branch-commits] [llvm] DAG: Fold bitcast of scalar_to_vector to anyext (PR #122660)

2025-01-12 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm ready_for_review https://github.com/llvm/llvm-project/pull/122660 ___ 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] DAG: Fold bitcast of scalar_to_vector to anyext (PR #122660)

2025-01-12 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm edited https://github.com/llvm/llvm-project/pull/122660 ___ 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] DAG: Fold bitcast of scalar_to_vector to anyext (PR #122660)

2025-01-12 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm edited https://github.com/llvm/llvm-project/pull/122660 ___ 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: Add baseline test for bitcast of scalar_to_vector combine (PR #122660)

2025-01-12 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm created https://github.com/llvm/llvm-project/pull/122660 AMDGPU: Add baseline test for bitcast of scalar_to_vector combine DAG: Fold bitcast of scalar_to_vector to anyext scalar_to_vector is difficult to make appear and test, but I found one case where this makes an o

[llvm-branch-commits] [llvm] AMDGPU: Add baseline test for bitcast of scalar_to_vector combine (PR #122660)

2025-01-12 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.dev/github/pr/llvm/llvm-project/122660?utm_source=stack-comment-downstack-mergeability-warning";

[llvm-branch-commits] [clang] [flang] [lld] [llvm] [Flang] Rename libFortranRuntime.a to libflang_rt.a (PR #122341)

2025-01-12 Thread Michael Kruse via llvm-branch-commits
https://github.com/Meinersbur updated https://github.com/llvm/llvm-project/pull/122341 >From c77098f90a5c20bdbce078a0ee3aec1fe53772e3 Mon Sep 17 00:00:00 2001 From: Michael Kruse Date: Wed, 8 Jan 2025 11:23:02 +0100 Subject: [PATCH 1/4] clang-format to sort headers --- flang/tools/f18-parse-d

[llvm-branch-commits] [flang] [llvm] [Flang-RT] Build libflang_rt.so (PR #121782)

2025-01-12 Thread Michael Kruse via llvm-branch-commits
https://github.com/Meinersbur updated https://github.com/llvm/llvm-project/pull/121782 >From a3037ab5557dcc4a4deb5bb40f801ca9770e3854 Mon Sep 17 00:00:00 2001 From: Michael Kruse Date: Mon, 6 Jan 2025 16:44:08 +0100 Subject: [PATCH 1/5] Add FLANG_RT_ENABLE_STATIC and FLANG_RT_ENABLE_SHARED ---

[llvm-branch-commits] [flang] [Flang] Optionally do not compile the runtime in-tree (PR #122336)

2025-01-12 Thread Michael Kruse via llvm-branch-commits
https://github.com/Meinersbur updated https://github.com/llvm/llvm-project/pull/122336 >From dd3ac2e6d8d8d57cd639c25bea3b8d5c99a2f81e Mon Sep 17 00:00:00 2001 From: Michael Kruse Date: Thu, 9 Jan 2025 15:58:48 +0100 Subject: [PATCH 1/7] Introduce FLANG_INCLUDE_RUNTIME --- flang/CMakeLists.txt

[llvm-branch-commits] [flang] [Flang] Promote FortranEvaluateTesting library (PR #122334)

2025-01-12 Thread Michael Kruse via llvm-branch-commits
https://github.com/Meinersbur updated https://github.com/llvm/llvm-project/pull/122334 >From 74432e2d5d4916f09ee6f60a4d80f3f5a96f1b12 Mon Sep 17 00:00:00 2001 From: Michael Kruse Date: Thu, 9 Jan 2025 11:31:23 +0100 Subject: [PATCH 1/3] Promote Testing lib --- .../flang/Testing}/fp-testing.h

[llvm-branch-commits] [clang-tools-extra] [clang-tidy] fix wrong float to float conversion check when floating point type is not standard type (PR #122637)

2025-01-12 Thread Congcong Cai via llvm-branch-commits
https://github.com/HerrCai0907 updated https://github.com/llvm/llvm-project/pull/122637 >From ecfe551759c7b741e6cabe07daf60257c3c9eaeb Mon Sep 17 00:00:00 2001 From: Congcong Cai Date: Sun, 12 Jan 2025 21:47:02 +0800 Subject: [PATCH] [clang-tidy] fix wrong float to float conversion check when

[llvm-branch-commits] [clang-tools-extra] [clang-tidy] fix wrong float to float conversion check when floating point type is not standard type (PR #122637)

2025-01-12 Thread Congcong Cai via llvm-branch-commits
https://github.com/HerrCai0907 updated https://github.com/llvm/llvm-project/pull/122637 >From d138b3de06de410f063319ca08e33087e1bdeeb8 Mon Sep 17 00:00:00 2001 From: Congcong Cai Date: Sun, 12 Jan 2025 21:47:02 +0800 Subject: [PATCH] [clang-tidy] fix wrong float to float conversion check when

[llvm-branch-commits] [clang] [llvm] [OffloadBundler] Rework the ctor of `OffloadTargetInfo` to support generic target (PR #122629)

2025-01-12 Thread Shilei Tian via llvm-branch-commits
https://github.com/shiltian updated https://github.com/llvm/llvm-project/pull/122629 >From 1b69731de90e57c66d36ed2e5dac01cbfd84c91b Mon Sep 17 00:00:00 2001 From: Shilei Tian Date: Sun, 12 Jan 2025 10:48:56 -0500 Subject: [PATCH] [OffloadBundler] Rework the ctor of `OffloadTargetInfo` to suppo

[llvm-branch-commits] [clang-tools-extra] [clang-tidy] fix wrong float to float conversion check when floating point type is not standard type (PR #122637)

2025-01-12 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-clang-tools-extra Author: Congcong Cai (HerrCai0907) Changes compare type kind is the wrong way to compare floating point type compatibility. more generic compatibility check is needed. --- Full diff: https://github.com/llvm/llvm-project/pull/122637.dif

[llvm-branch-commits] [clang-tools-extra] [clang-tidy] fix wrong float to float conversion check when floating point type is not standard type (PR #122637)

2025-01-12 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-clang-tidy Author: Congcong Cai (HerrCai0907) Changes compare type kind is the wrong way to compare floating point type compatibility. more generic compatibility check is needed. --- Full diff: https://github.com/llvm/llvm-project/pull/122637.diff 3 F

[llvm-branch-commits] [clang-tools-extra] [clang-tidy] fix wrong float to float conversion check when floating point type is not standard type (PR #122637)

2025-01-12 Thread Congcong Cai via llvm-branch-commits
https://github.com/HerrCai0907 ready_for_review https://github.com/llvm/llvm-project/pull/122637 ___ 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] [clang-tidy] fix wrong float to float conversion check when floating point type is not standard type (PR #122637)

2025-01-12 Thread Congcong Cai via llvm-branch-commits
HerrCai0907 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/122637?utm_source=stack-comment-downstack-mergeability-warni

[llvm-branch-commits] [clang-tools-extra] [clang-tidy] fix wrong float to float conversion check when floating point type is not standard type (PR #122637)

2025-01-12 Thread Congcong Cai via llvm-branch-commits
https://github.com/HerrCai0907 created https://github.com/llvm/llvm-project/pull/122637 compare type kind is the wrong way to compare floating point type compatibility. more generic compatibility check is needed. >From 31b602beadf57764e9138276cfd8b0a187ba9fb7 Mon Sep 17 00:00:00 2001 From: Cong