[llvm-branch-commits] [llvm] release/20.x: [llvm] Add CMake flag to compile out the telemetry framework (#124850) (PR #125555)

2025-02-05 Thread Nikita Popov via llvm-branch-commits
nikic wrote: @JDevlieghere See https://github.com/llvm/llvm-project/issues/125554#issuecomment-2636081942 for how to add a comment. You have to run it in the place where you did the original cherry-pick and pass both commits at once. https://github.com/llvm/llvm-project/pull/12 __

[llvm-branch-commits] [mlir] [mlir][cmake] Add missing MLIRTestDialect dependencies (PR #125834)

2025-02-05 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-mlir Author: David Spickett (DavidSpickett) Changes This cherry picks [mlir][cmake] Add missing MLIRTestDialect dependency (#125004) (72b73c9af694198096b2e0c47a1625e5b94c76a5) and [mlir] Fix build race condition in Pass Manager tests (d906da5ead2764579

[llvm-branch-commits] [mlir] [mlir][cmake] Add missing MLIRTestDialect dependencies (PR #125834)

2025-02-05 Thread David Spickett via llvm-branch-commits
https://github.com/DavidSpickett created https://github.com/llvm/llvm-project/pull/125834 This cherry picks [mlir][cmake] Add missing MLIRTestDialect dependency (#125004) (72b73c9af694198096b2e0c47a1625e5b94c76a5) and [mlir] Fix build race condition in Pass Manager tests (d906da5ead2764579395e

[llvm-branch-commits] [flang] [libc] [libclc] [llvm] [AMDGPU] Replace gfx940 and gfx941 with gfx942 in offload and libclc (PR #125826)

2025-02-05 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm approved this pull request. https://github.com/llvm/llvm-project/pull/125826 ___ 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][cmake] Add missing MLIRTestDialect dependencies (PR #125834)

2025-02-05 Thread David Spickett via llvm-branch-commits
DavidSpickett wrote: These would be clean cherry-picks but I put them into one commit so I could include the details of what it fixes. I hope that's ok. https://github.com/llvm/llvm-project/pull/125834 ___ llvm-branch-commits mailing list llvm-branch-

[llvm-branch-commits] [mlir] [mlir][cmake] Add missing MLIRTestDialect dependencies (PR #125834)

2025-02-05 Thread David Spickett via llvm-branch-commits
https://github.com/DavidSpickett milestoned https://github.com/llvm/llvm-project/pull/125834 ___ 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] [AMDGPU] Add missing gfx architectures to AddFlangOffloadRuntime.cmake (PR #125827)

2025-02-05 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm approved this pull request. https://github.com/llvm/llvm-project/pull/125827 ___ 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][cmake] Add missing MLIRTestDialect dependencies (PR #125834)

2025-02-05 Thread Michał Górny via llvm-branch-commits
@@ -27,7 +27,11 @@ add_mlir_library(MLIRTestIR TestVisitorsGeneric.cpp EXCLUDE_FROM_LIBMLIR + + DEPENDS mgorny wrote: Don't you need `LINK_LIBS` here too? https://github.com/llvm/llvm-project/pull/125834 ___ l

[llvm-branch-commits] [mlir] [mlir][cmake] Add missing MLIRTestDialect dependencies (PR #125834)

2025-02-05 Thread David Spickett via llvm-branch-commits
@@ -27,7 +27,11 @@ add_mlir_library(MLIRTestIR TestVisitorsGeneric.cpp EXCLUDE_FROM_LIBMLIR + + DEPENDS DavidSpickett wrote: I do, in fact - ad152f4bcfe465b57562fa003b93f44e1a3b2287. Will pick this too. https://github.com/llvm/llvm-project/pull/125834

[llvm-branch-commits] [mlir] [mlir][cmake] Add missing MLIRTestDialect dependencies (PR #125834)

2025-02-05 Thread David Spickett via llvm-branch-commits
DavidSpickett wrote: Actually, I see @nikic doing more fixes. So I will wait for you to finish your work and we can coordinate what needs to go into 20.x. https://github.com/llvm/llvm-project/pull/125834 ___ llvm-branch-commits mailing list llvm-branc

[llvm-branch-commits] [mlir] [AMDGPU][MLIR] Replace gfx940 and gfx941 with gfx942 in MLIR (PR #125836)

2025-02-05 Thread Fabian Ritter via llvm-branch-commits
https://github.com/ritter-x2a created https://github.com/llvm/llvm-project/pull/125836 gfx940 and gfx941 are no longer supported. This is one of a series of PRs to remove them from the code base. For SWDEV-512631 >From 656adb4e5ad43229e3c63eaad9da3b2361cd2d83 Mon Sep 17 00:00:00 2001 From: Fab

[llvm-branch-commits] [mlir] [AMDGPU][MLIR] Replace gfx940 and gfx941 with gfx942 in MLIR (PR #125836)

2025-02-05 Thread Fabian Ritter via llvm-branch-commits
ritter-x2a 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/125836?utm_source=stack-comment-downstack-mergeability-warnin

[llvm-branch-commits] [flang] [mlir] release/20.x: Fixes for flang/mlir dependencies (PR #125837)

2025-02-05 Thread Nikita Popov via llvm-branch-commits
https://github.com/nikic created https://github.com/llvm/llvm-project/pull/125837 Backport a few fixes for flang/MLIR library dependencies related to MLIR_LINK_MLIR_DYLIB changes. >From 86f0bbcd6ed9d20c7d40a5033b2862bf1497d617 Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Tue, 4 Feb 2025

[llvm-branch-commits] [flang] [mlir] release/20.x: Fixes for flang/mlir dependencies (PR #125837)

2025-02-05 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-mlir Author: Nikita Popov (nikic) Changes Backport a few fixes for flang/MLIR library dependencies related to MLIR_LINK_MLIR_DYLIB changes. --- Full diff: https://github.com/llvm/llvm-project/pull/125837.diff 3 Files Affected: - (modified) flang/lib

[llvm-branch-commits] [mlir] [AMDGPU][MLIR] Replace gfx940 and gfx941 with gfx942 in MLIR (PR #125836)

2025-02-05 Thread Fabian Ritter via llvm-branch-commits
https://github.com/ritter-x2a ready_for_review https://github.com/llvm/llvm-project/pull/125836 ___ 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/20.x: [llvm] Add CMake flag to compile out the telemetry framework (#124850) (PR #125555)

2025-02-05 Thread via llvm-branch-commits
https://github.com/llvmbot updated https://github.com/llvm/llvm-project/pull/12 >From d8440db1a1042beba74dfdf93edd83630bbebdab Mon Sep 17 00:00:00 2001 From: Jonas Devlieghere Date: Mon, 3 Feb 2025 10:35:14 -0800 Subject: [PATCH 1/2] [llvm] Add CMake flag to compile out the telemetry frame

[llvm-branch-commits] [mlir] [mlir][OpenMP] Pack task private variables into a heap-allocated context struct (PR #125307)

2025-02-05 Thread Tom Eccles via llvm-branch-commits
@@ -1730,6 +1730,126 @@ buildDependData(std::optional dependKinds, OperandRange dependVars, } } +static bool privatizerReadsSourceVariable(omp::PrivateClauseOp &priv) { + if (priv.getDataSharingType() == omp::DataSharingClauseType::FirstPrivate) +return true; + + Regi

[llvm-branch-commits] [mlir] [AMDGPU][MLIR] Replace gfx940 and gfx941 with gfx942 in MLIR (PR #125836)

2025-02-05 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-mlir-amdgpu Author: Fabian Ritter (ritter-x2a) Changes gfx940 and gfx941 are no longer supported. This is one of a series of PRs to remove them from the code base. For SWDEV-512631 --- Full diff: https://github.com/llvm/llvm-project/pull/125836.diff

[llvm-branch-commits] [flang] [mlir] release/20.x: Fixes for flang/mlir dependencies (PR #125837)

2025-02-05 Thread Nikita Popov via llvm-branch-commits
https://github.com/nikic milestoned https://github.com/llvm/llvm-project/pull/125837 ___ 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] release/20.x: Fixes for flang/mlir dependencies (PR #125837)

2025-02-05 Thread Nikita Popov via llvm-branch-commits
https://github.com/nikic edited https://github.com/llvm/llvm-project/pull/125837 ___ 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] release/20.x: Fixes for flang/mlir dependencies (PR #125837)

2025-02-05 Thread Michał Górny via llvm-branch-commits
https://github.com/mgorny approved this pull request. https://github.com/llvm/llvm-project/pull/125837 ___ 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] [AVR] Backport #118015 and #121498 (PR #125081)

2025-02-05 Thread Patryk Wychowaniec via llvm-branch-commits
Patryk27 wrote: Alright, backported! I changed the logic from `emit relocations only for large jumps` to `emit relocations always`, which - pleasantly enough - means we don't have to backport #118015 per se (since linker is able to do this magic-wrapping-thingie on its own). As for testing,

[llvm-branch-commits] [clang] [llvm] [HLSL][RootSignature] Implement Parsing of Descriptor Tables (PR #122982)

2025-02-05 Thread Finn Plummer via llvm-branch-commits
https://github.com/inbelic updated https://github.com/llvm/llvm-project/pull/122982 >From 5ed5fcfebb395cdfe45dc41094e07716d2003d66 Mon Sep 17 00:00:00 2001 From: Finn Plummer Date: Tue, 28 Jan 2025 17:49:21 + Subject: [PATCH 01/18] [HLSL][RootSignature] Handle an empty root signature - Def

[llvm-branch-commits] [clang] [llvm] [llvm] Introduce type id operand bundle (PR #87573)

2025-02-05 Thread Paul Kirth via llvm-branch-commits
ilovepi wrote: I'd hazard that "correctness" here depends on if you mean the "correctness of the compiled code`"or the "correctness of the call graph section". The lang ref for operand bundle states that "dropping them is incorrect and will change program semantics". It goes on to say that "O

[llvm-branch-commits] [llvm] PeepholeOpt: Fix looking for def of current copy to coalesce (PR #125533)

2025-02-05 Thread Matt Arsenault via llvm-branch-commits
arsenm wrote: ### Merge activity * **Feb 5, 11:06 AM EST**: A user started a stack merge that includes this pull request via [Graphite](https://app.graphite.dev/github/pr/llvm/llvm-project/125533). https://github.com/llvm/llvm-project/pull/125533 _

[llvm-branch-commits] [llvm] AMDGPU: Add baseline test for treating v_pk_mov_b32 like reg_sequence (PR #125656)

2025-02-05 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm updated https://github.com/llvm/llvm-project/pull/125656 >From d538f041287d011d6260a030567e7ded7524e2ab Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Tue, 4 Feb 2025 14:16:32 +0700 Subject: [PATCH] AMDGPU: Add baseline test for treating v_pk_mov_b32 like reg_seq

[llvm-branch-commits] [mlir] [mlir][OpenMP] Pack task private variables into a heap-allocated context struct (PR #125307)

2025-02-05 Thread Tom Eccles via llvm-branch-commits
@@ -1730,6 +1730,126 @@ buildDependData(std::optional dependKinds, OperandRange dependVars, } } +static bool privatizerReadsSourceVariable(omp::PrivateClauseOp &priv) { + if (priv.getDataSharingType() == omp::DataSharingClauseType::FirstPrivate) +return true; + + Regi

[llvm-branch-commits] [flang] [libc] [libclc] [llvm] [AMDGPU] Replace gfx940 and gfx941 with gfx942 in offload and libclc (PR #125826)

2025-02-05 Thread Fabian Ritter via llvm-branch-commits
ritter-x2a 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/125826?utm_source=stack-comment-downstack-mergeability-warnin

[llvm-branch-commits] [flang] [AMDGPU] Add missing gfx architectures to AddFlangOffloadRuntime.cmake (PR #125827)

2025-02-05 Thread Fabian Ritter via llvm-branch-commits
https://github.com/ritter-x2a created https://github.com/llvm/llvm-project/pull/125827 None >From 97f4e5ae4fa91cab86350658d214408ed34cb15c Mon Sep 17 00:00:00 2001 From: Fabian Ritter Date: Wed, 5 Feb 2025 04:45:26 -0500 Subject: [PATCH] [AMDGPU] Add missing gfx architectures to AddFlangOfflo

[llvm-branch-commits] [flang] [libc] [libclc] [llvm] [AMDGPU] Replace gfx940 and gfx941 with gfx942 in offload and libclc (PR #125826)

2025-02-05 Thread Fabian Ritter via llvm-branch-commits
https://github.com/ritter-x2a created https://github.com/llvm/llvm-project/pull/125826 gfx940 and gfx941 are no longer supported. This is one of a series of PRs to remove them from the code base. For SWDEV-512631 and SWDEV-512633 >From 35a6625af25aefb4982abd14fa75e9d2c1bcc3d0 Mon Sep 17 00:00:

[llvm-branch-commits] [flang] [AMDGPU] Add missing gfx architectures to AddFlangOffloadRuntime.cmake (PR #125827)

2025-02-05 Thread Fabian Ritter via llvm-branch-commits
ritter-x2a 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/125827?utm_source=stack-comment-downstack-mergeability-warnin

[llvm-branch-commits] [flang] [libc] [libclc] [llvm] [AMDGPU] Replace gfx940 and gfx941 with gfx942 in offload and libclc (PR #125826)

2025-02-05 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-amdgpu Author: Fabian Ritter (ritter-x2a) Changes gfx940 and gfx941 are no longer supported. This is one of a series of PRs to remove them from the code base. For SWDEV-512631 and SWDEV-512633 --- Full diff: https://github.com/llvm/llvm-project

[llvm-branch-commits] [flang] [libc] [libclc] [llvm] [AMDGPU] Replace gfx940 and gfx941 with gfx942 in offload and libclc (PR #125826)

2025-02-05 Thread Fabian Ritter via llvm-branch-commits
https://github.com/ritter-x2a ready_for_review https://github.com/llvm/llvm-project/pull/125826 ___ 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][OpenMP] Pack task private variables into a heap-allocated context struct (PR #125307)

2025-02-05 Thread Tom Eccles via llvm-branch-commits
@@ -1796,36 +1918,110 @@ convertOmpTaskOp(omp::TaskOp taskOp, llvm::IRBuilderBase &builder, // Allocate and initialize private variables // TODO: package private variables up in a structure builder.SetInsertPoint(initBlock->getTerminator()); - for (auto [privDecl, mlirP

[llvm-branch-commits] [mlir] [mlir][OpenMP] Pack task private variables into a heap-allocated context struct (PR #125307)

2025-02-05 Thread Tom Eccles via llvm-branch-commits
https://github.com/tblah edited https://github.com/llvm/llvm-project/pull/125307 ___ 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] [AMDGPU] Add missing gfx architectures to AddFlangOffloadRuntime.cmake (PR #125827)

2025-02-05 Thread Fabian Ritter via llvm-branch-commits
https://github.com/ritter-x2a ready_for_review https://github.com/llvm/llvm-project/pull/125827 ___ 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] [AArch64] Disallow vscale x 1 partial reductions (PR #125252)

2025-02-05 Thread Sam Tebbs via llvm-branch-commits
https://github.com/SamTebbs33 edited https://github.com/llvm/llvm-project/pull/125252 ___ 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] [AArch64] Disallow vscale x 1 partial reductions (PR #125252)

2025-02-05 Thread Sam Tebbs via llvm-branch-commits
https://github.com/SamTebbs33 updated https://github.com/llvm/llvm-project/pull/125252 error: too big or took too long to generate ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/l

[llvm-branch-commits] [llvm] [SPARC][IAS] Add support for `setsw` pseudoinstruction (PR #125150)

2025-02-05 Thread via llvm-branch-commits
https://github.com/koachan updated https://github.com/llvm/llvm-project/pull/125150 >From 259439304b31a8557db456d276a84849c7a37067 Mon Sep 17 00:00:00 2001 From: Koakuma Date: Mon, 3 Feb 2025 23:12:07 +0700 Subject: [PATCH] Incorporate feedback Created using spr 1.3.4 --- llvm/lib/Target/Spar

[llvm-branch-commits] [llvm] [SPARC][IAS] Add support for `setsw` pseudoinstruction (PR #125150)

2025-02-05 Thread via llvm-branch-commits
https://github.com/koachan updated https://github.com/llvm/llvm-project/pull/125150 >From 259439304b31a8557db456d276a84849c7a37067 Mon Sep 17 00:00:00 2001 From: Koakuma Date: Mon, 3 Feb 2025 23:12:07 +0700 Subject: [PATCH] Incorporate feedback Created using spr 1.3.4 --- llvm/lib/Target/Spar

[llvm-branch-commits] [flang] [mlir] [mlir][OpenMP] Pack task private variables into a heap-allocated context struct (PR #125307)

2025-02-05 Thread Tom Eccles via llvm-branch-commits
https://github.com/tblah updated https://github.com/llvm/llvm-project/pull/125307 >From afa9026eefb6c9cd613ed021a92e159f93c3667c Mon Sep 17 00:00:00 2001 From: Tom Eccles Date: Fri, 24 Jan 2025 17:32:41 + Subject: [PATCH 1/8] [mlir][OpenMP] Pack task private variables into a heap-allocated

[llvm-branch-commits] [llvm] release/20.x: [CG][RISCV]Fix shuffling of odd number of input vectors (PR #125910)

2025-02-05 Thread via llvm-branch-commits
llvmbot wrote: @preames What do you think about merging this PR to the release branch? https://github.com/llvm/llvm-project/pull/125910 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listi

[llvm-branch-commits] [llvm] release/20.x: [CG][RISCV]Fix shuffling of odd number of input vectors (PR #125910)

2025-02-05 Thread via llvm-branch-commits
https://github.com/llvmbot created https://github.com/llvm/llvm-project/pull/125910 Backport 23b6a05ec9c2220844748487612761d1e09166b7 Requested by: @alexey-bataev >From 37229643ffe8e98d53b7c3e8afe6d65dc305c927 Mon Sep 17 00:00:00 2001 From: Alexey Bataev Date: Wed, 5 Feb 2025 07:13:33 -0500 S

[llvm-branch-commits] [llvm] release/20.x: [CG][RISCV]Fix shuffling of odd number of input vectors (PR #125910)

2025-02-05 Thread via llvm-branch-commits
https://github.com/llvmbot milestoned https://github.com/llvm/llvm-project/pull/125910 ___ 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/20.x: [CG][RISCV]Fix shuffling of odd number of input vectors (PR #125910)

2025-02-05 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-risc-v Author: None (llvmbot) Changes Backport 23b6a05ec9c2220844748487612761d1e09166b7 Requested by: @alexey-bataev --- Full diff: https://github.com/llvm/llvm-project/pull/125910.diff 2 Files Affected: - (modified) llvm/lib/Target/RISCV/RI

[llvm-branch-commits] [mlir] [mlir][ODS] Switch declarative rewrite rules to properties structs (PR #124876)

2025-02-05 Thread Krzysztof Drewniak via llvm-branch-commits
https://github.com/krzysz00 updated https://github.com/llvm/llvm-project/pull/124876 >From 5dc001f21e663d3a2e9dfdaa46b29a8731d21af9 Mon Sep 17 00:00:00 2001 From: Krzysztof Drewniak Date: Tue, 28 Jan 2025 20:25:38 -0800 Subject: [PATCH 1/2] [mlir][ODS] Switch declarative rewrite rules to prope

[llvm-branch-commits] [llvm] [NFC][AsmPrinter] Refactor AsmPrinter and AArch64AsmPrinter to prepare for jump table partitions on aarch64 (PR #125993)

2025-02-05 Thread Mingming Liu via llvm-branch-commits
https://github.com/mingmingl-llvm ready_for_review https://github.com/llvm/llvm-project/pull/125993 ___ 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][AsmPrinter] Refactor AsmPrinter and AArch64AsmPrinter to prepare for jump table partitions on aarch64 (PR #125993)

2025-02-05 Thread Mingming Liu via llvm-branch-commits
mingmingl-llvm wrote: cc @Colibrow fyi https://github.com/llvm/llvm-project/pull/125993 ___ 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][AsmPrinter] Refactor AsmPrinter and AArch64AsmPrinter to prepare for jump table partitions on aarch64 (PR #125993)

2025-02-05 Thread Mingming Liu via llvm-branch-commits
https://github.com/mingmingl-llvm updated https://github.com/llvm/llvm-project/pull/125993 >From 169486b930c12eb7521fe7ce3c3e6f360824af22 Mon Sep 17 00:00:00 2001 From: mingmingl Date: Wed, 5 Feb 2025 18:46:36 -0800 Subject: [PATCH 1/2] [nfc]asm printer jump table --- llvm/include/llvm/CodeGe

[llvm-branch-commits] [llvm] [NFC][AsmPrinter] Refactor AsmPrinter and AArch64AsmPrinter to prepare for jump table partitions on aarch64 (PR #125993)

2025-02-05 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-aarch64 Author: Mingming Liu (mingmingl-llvm) Changes With https://github.com/llvm/llvm-project/commit/3feb724496238ce10d32e8c2bd84b4ea50f9977e, AsmPrinter can place jump table entries into `.hot` or `.unlikely` prefixed data sections. This ch

[llvm-branch-commits] [llvm] [NFC][AsmPrinter] Refactor AsmPrinter and AArch64AsmPrinter to prepare for jump table partitions on aarch64 (PR #125993)

2025-02-05 Thread Mingming Liu via llvm-branch-commits
https://github.com/mingmingl-llvm edited https://github.com/llvm/llvm-project/pull/125993 ___ 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] [AMDGPU][MLIR] Replace gfx940 and gfx941 with gfx942 in MLIR (PR #125836)

2025-02-05 Thread Fabian Ritter via llvm-branch-commits
ritter-x2a wrote: > Ok so I'm going to take issue with jumping the constants in a bunch of tests > to gfx8942. Unless we're planning to completely wipe gfx940/1 from the > codebase - which seems extremely unusual and like bad practice ... gfx940 and > 941 are real targets that did really exist

[llvm-branch-commits] [llvm] [NFC][AsmPrinter] Refactor AsmPrinter and AArch64AsmPrinter to prepare for jump table partitions on aarch64 (PR #125993)

2025-02-05 Thread Mingming Liu via llvm-branch-commits
https://github.com/mingmingl-llvm updated https://github.com/llvm/llvm-project/pull/125993 >From 169486b930c12eb7521fe7ce3c3e6f360824af22 Mon Sep 17 00:00:00 2001 From: mingmingl Date: Wed, 5 Feb 2025 18:46:36 -0800 Subject: [PATCH 1/3] [nfc]asm printer jump table --- llvm/include/llvm/CodeGe

[llvm-branch-commits] [mlir] [mlir][ODS] Add a collective builder that takes the Properties struct (PR #124713)

2025-02-05 Thread Krzysztof Drewniak via llvm-branch-commits
https://github.com/krzysz00 updated https://github.com/llvm/llvm-project/pull/124713 >From 5b7c91328d935f203acd571488f16f709200cc1e Mon Sep 17 00:00:00 2001 From: Krzysztof Drewniak Date: Sat, 18 Jan 2025 00:01:35 -0800 Subject: [PATCH 1/3] [mlir][ODS] Add a collective builder that takes the P

[llvm-branch-commits] [llvm] [AArch64AsmPrinter]Place jump tables into hot/unlikely-prefixed data sections for aarch64 (PR #126018)

2025-02-05 Thread Mingming Liu via llvm-branch-commits
https://github.com/mingmingl-llvm created https://github.com/llvm/llvm-project/pull/126018 This is a follow-up patch of https://github.com/llvm/llvm-project/pull/125993 to port jump table partitions for aarch64. >From bcd1e154c97f57a6a7c00c5f137c301805eea0c2 Mon Sep 17 00:00:00 2001 From: ming

[llvm-branch-commits] [llvm] [AArch64AsmPrinter]Place jump tables into hot/unlikely-prefixed data sections for aarch64 (PR #126018)

2025-02-05 Thread Mingming Liu via llvm-branch-commits
mingmingl-llvm wrote: cc @Colibrow https://github.com/llvm/llvm-project/pull/126018 ___ 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][AsmPrinter] Refactor AsmPrinter and AArch64AsmPrinter to prepare for jump table partitions on aarch64 (PR #125993)

2025-02-05 Thread Mingming Liu via llvm-branch-commits
https://github.com/mingmingl-llvm edited https://github.com/llvm/llvm-project/pull/125993 ___ 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] [AArch64AsmPrinter]Place jump tables into hot/unlikely-prefixed data sections for aarch64 (PR #126018)

2025-02-05 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-aarch64 Author: Mingming Liu (mingmingl-llvm) Changes This is a follow-up patch of https://github.com/llvm/llvm-project/pull/125993 to port jump table partitions for aarch64. --- Full diff: https://github.com/llvm/llvm-project/pull/126018.diff

[llvm-branch-commits] [clang-tools-extra] [clang-doc] Make `--repository` change the HTML output (PR #122566)

2025-02-05 Thread Petr Hosek via llvm-branch-commits
https://github.com/petrhosek approved this pull request. https://github.com/llvm/llvm-project/pull/122566 ___ 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-doc] Make `--repository` change the HTML output (PR #122566)

2025-02-05 Thread Petr Hosek via llvm-branch-commits
@@ -494,18 +494,31 @@ genReferencesBlock(const std::vector &References, static std::unique_ptr writeFileDefinition(const Location &L, std::optional RepositoryUrl = std::nullopt) { - if (!L.IsFileInRootDir || !RepositoryUrl) + if (!L.IsFileInRootDir && !Re

[llvm-branch-commits] [clang] [compiler-rt] [llvm] release/20.x: [ORC-RT] Use templates to express deeply nested function calls in testcase. (PR #126015)

2025-02-05 Thread via llvm-branch-commits
https://github.com/llvmbot milestoned https://github.com/llvm/llvm-project/pull/126015 ___ 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] 8be3fc0 - [AArch64] Disallow vscale x 1 partial reductions (#125252)

2025-02-05 Thread via llvm-branch-commits
Author: Sam Tebbs Date: 2025-02-05T14:37:39Z New Revision: 8be3fc0f5c7bdad7718394e34ebc5087704a1027 URL: https://github.com/llvm/llvm-project/commit/8be3fc0f5c7bdad7718394e34ebc5087704a1027 DIFF: https://github.com/llvm/llvm-project/commit/8be3fc0f5c7bdad7718394e34ebc5087704a1027.diff LOG: [AA

[llvm-branch-commits] [llvm] release/20.x: [AArch64] Disallow vscale x 1 partial reductions (#125252) (PR #125866)

2025-02-05 Thread Tom Stellard via llvm-branch-commits
https://github.com/tstellar closed https://github.com/llvm/llvm-project/pull/125866 ___ 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/20.x: [offload] [test] Use test compiler ID rather than host (#124408) (PR #125498)

2025-02-05 Thread Tom Stellard via llvm-branch-commits
=?utf-8?q?Michał_Górny?= Message-ID: In-Reply-To: https://github.com/tstellar closed https://github.com/llvm/llvm-project/pull/125498 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listi

[llvm-branch-commits] [llvm] release/20.x: [offload] [test] Use test compiler ID rather than host (#124408) (PR #125498)

2025-02-05 Thread via llvm-branch-commits
=?utf-8?q?Michał_Górny?= Message-ID: In-Reply-To: https://github.com/llvmbot updated https://github.com/llvm/llvm-project/pull/125498 >From 091c11f29e1665a950e74597b66add451d281b97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Sun, 2 Feb 2025 16:55:22 +0100 Subjec

[llvm-branch-commits] [llvm] release/20.x: [offload] [test] Use test compiler ID rather than host (#124408) (PR #125498)

2025-02-05 Thread via llvm-branch-commits
=?utf-8?q?Michał_Górny?= Message-ID: In-Reply-To: github-actions[bot] wrote: @mgorny (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

[llvm-branch-commits] [compiler-rt] 2d1f7e0 - [asan][android] XFAIL suppressions-alloc-dealloc-mismatch

2025-02-05 Thread Tom Stellard via llvm-branch-commits
Author: Vitaly Buka Date: 2025-02-05T13:35:58-08:00 New Revision: 2d1f7e0082b80d9041f3772eb42dbd9153f7e6a6 URL: https://github.com/llvm/llvm-project/commit/2d1f7e0082b80d9041f3772eb42dbd9153f7e6a6 DIFF: https://github.com/llvm/llvm-project/commit/2d1f7e0082b80d9041f3772eb42dbd9153f7e6a6.diff L

[llvm-branch-commits] [compiler-rt] 5a406bd - [asan][test] Attempt to fix suppressions-alloc-dealloc-mismatch.cpp on Darwin (#124987)

2025-02-05 Thread Tom Stellard via llvm-branch-commits
Author: Ben Langmuir Date: 2025-02-05T13:35:58-08:00 New Revision: 5a406bde97d8ef9489669fa33c6540c26e4436f6 URL: https://github.com/llvm/llvm-project/commit/5a406bde97d8ef9489669fa33c6540c26e4436f6 DIFF: https://github.com/llvm/llvm-project/commit/5a406bde97d8ef9489669fa33c6540c26e4436f6.diff

[llvm-branch-commits] [llvm] release/20.x: [AArch64] Disallow vscale x 1 partial reductions (#125252) (PR #125866)

2025-02-05 Thread via llvm-branch-commits
github-actions[bot] wrote: @SamTebbs33 (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] [flang] [mlir] [mlir][OpenMP] Pack task private variables into a heap-allocated context struct (PR #125307)

2025-02-05 Thread Pranav Bhandarkar via llvm-branch-commits
https://github.com/bhandarkar-pranav commented: Thank you for the PR, Tom. I have some minor comments that may amount to nitpicking. https://github.com/llvm/llvm-project/pull/125307 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.o

[llvm-branch-commits] [clang] [llvm] [llvm][fatlto] Add FatLTOCleanup pass (PR #125911)

2025-02-05 Thread Paul Kirth via llvm-branch-commits
https://github.com/ilovepi edited https://github.com/llvm/llvm-project/pull/125911 ___ 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] [mlir][OpenMP] Pack task private variables into a heap-allocated context struct (PR #125307)

2025-02-05 Thread Pranav Bhandarkar via llvm-branch-commits
@@ -1730,6 +1730,119 @@ buildDependData(std::optional dependKinds, OperandRange dependVars, } } +namespace { +/// TaskContextStructManager takes care of creating and freeing a structure +/// containing information needed by the task body to execute. +class TaskContextStruct

[llvm-branch-commits] [flang] [mlir] [mlir][OpenMP] Pack task private variables into a heap-allocated context struct (PR #125307)

2025-02-05 Thread Pranav Bhandarkar via llvm-branch-commits
@@ -1730,6 +1730,119 @@ buildDependData(std::optional dependKinds, OperandRange dependVars, } } +namespace { +/// TaskContextStructManager takes care of creating and freeing a structure +/// containing information needed by the task body to execute. +class TaskContextStruct

[llvm-branch-commits] [flang] [mlir] [mlir][OpenMP] Pack task private variables into a heap-allocated context struct (PR #125307)

2025-02-05 Thread Pranav Bhandarkar via llvm-branch-commits
@@ -1794,38 +1909,114 @@ convertOmpTaskOp(omp::TaskOp taskOp, llvm::IRBuilderBase &builder, moduleTranslation, allocaIP); // Allocate and initialize private variables - // TODO: package private variables up in a structure builder.SetInsertPoint(initBlock->getTermi

[llvm-branch-commits] [flang] [mlir] [mlir][OpenMP] Pack task private variables into a heap-allocated context struct (PR #125307)

2025-02-05 Thread Pranav Bhandarkar via llvm-branch-commits
https://github.com/bhandarkar-pranav edited https://github.com/llvm/llvm-project/pull/125307 ___ 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] [AVR] Backport #118015 and #121498 (PR #125081)

2025-02-05 Thread Patryk Wychowaniec via llvm-branch-commits
https://github.com/Patryk27 edited https://github.com/llvm/llvm-project/pull/125081 ___ 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] [libcxx] [libc++][chrono] implements GPS clock. (PR #125921)

2025-02-05 Thread Mark de Wever via llvm-branch-commits
https://github.com/mordante created https://github.com/llvm/llvm-project/pull/125921 Completes: - LWG3359 leap second support should allow for negative leap seconds Implements parts of: - P0355 Extending to Calendars and Time Zones - P1361 Integration of chrono with text formatting NOTE The

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

2025-02-05 Thread via llvm-branch-commits
h-vetinari wrote: The last commit from main here is 2a84e1e65ad7f84c2dbcf37241a7d1805a523e0d (see branch [history](https://github.com/llvm/llvm-project/commits/users/meinersbur/flang_runtime/)), which means that the fix you're referring to (https://github.com/llvm/llvm-project/commit/7fa1257c

[llvm-branch-commits] [llvm] release/20.x: [RISCV] Use getSignedConstant for negative values. (#125903) (PR #125953)

2025-02-05 Thread via llvm-branch-commits
https://github.com/llvmbot created https://github.com/llvm/llvm-project/pull/125953 Backport 0d7ee520d3a9b8997adf8eaaa22b33db9659d94e Requested by: @topperc >From faa55e48821c02017d0e9c71602c46467de9fd6e Mon Sep 17 00:00:00 2001 From: Craig Topper Date: Wed, 5 Feb 2025 14:49:01 -0800 Subject:

[llvm-branch-commits] [llvm] release/20.x: [RISCV] Use getSignedConstant for negative values. (#125903) (PR #125953)

2025-02-05 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-risc-v Author: None (llvmbot) Changes Backport 0d7ee520d3a9b8997adf8eaaa22b33db9659d94e Requested by: @topperc --- Full diff: https://github.com/llvm/llvm-project/pull/125953.diff 3 Files Affected: - (modified) llvm/lib/Target/RISCV/RISCVISe

[llvm-branch-commits] [llvm] release/20.x: [RISCV] Use getSignedConstant for negative values. (#125903) (PR #125953)

2025-02-05 Thread via llvm-branch-commits
https://github.com/llvmbot milestoned https://github.com/llvm/llvm-project/pull/125953 ___ 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/20.x: [RISCV] Use getSignedConstant for negative values. (#125903) (PR #125953)

2025-02-05 Thread Philip Reames via llvm-branch-commits
https://github.com/preames approved this pull request. LGTM https://github.com/llvm/llvm-project/pull/125953 ___ 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/20.x: [RISCV] Use getSignedConstant for negative values. (#125903) (PR #125953)

2025-02-05 Thread via llvm-branch-commits
llvmbot wrote: @preames What do you think about merging this PR to the release branch? https://github.com/llvm/llvm-project/pull/125953 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listi

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

2025-02-05 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] [clang] [llvm] [llvm] Introduce type id operand bundle (PR #87573)

2025-02-05 Thread via llvm-branch-commits
https://github.com/Prabhuk updated https://github.com/llvm/llvm-project/pull/87573 >From a8a5848885e12c771f12cfa33b4dbc6a0272e925 Mon Sep 17 00:00:00 2001 From: Prabhuk Date: Mon, 22 Apr 2024 11:34:04 -0700 Subject: [PATCH 1/6] Update clang/lib/CodeGen/CodeGenModule.cpp Cleaner if checks. Co-

[llvm-branch-commits] [llvm] Add option to emit call graph section (PR #87572)

2025-02-05 Thread via llvm-branch-commits
https://github.com/Prabhuk updated https://github.com/llvm/llvm-project/pull/87572 ___ 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][AsmPrinter] Emit call graph section (PR #87576)

2025-02-05 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] [llvm] Extend CallSiteInfo with TypeId (PR #87574)

2025-02-05 Thread via llvm-branch-commits
https://github.com/Prabhuk updated https://github.com/llvm/llvm-project/pull/87574 >From 1d7ee612e408ee7e64e984eb08e6d7089a435d09 Mon Sep 17 00:00:00 2001 From: Necip Fazil Yildiran Date: Sun, 2 Feb 2025 00:58:49 + Subject: [PATCH] Simplify MIR test. Created using spr 1.3.6-beta.1 --- ...

[llvm-branch-commits] [llvm] Add option to emit call graph section (PR #87572)

2025-02-05 Thread via llvm-branch-commits
https://github.com/Prabhuk updated https://github.com/llvm/llvm-project/pull/87572 ___ 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] [llvm] Extend CallSiteInfo with TypeId (PR #87574)

2025-02-05 Thread via llvm-branch-commits
https://github.com/Prabhuk updated https://github.com/llvm/llvm-project/pull/87574 >From 1d7ee612e408ee7e64e984eb08e6d7089a435d09 Mon Sep 17 00:00:00 2001 From: Necip Fazil Yildiran Date: Sun, 2 Feb 2025 00:58:49 + Subject: [PATCH] Simplify MIR test. Created using spr 1.3.6-beta.1 --- ...

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

2025-02-05 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] [clang] release/20.x: [clang] Support member function poiners in Decl::getFunctionType() (#125077) (PR #125956)

2025-02-05 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: None (llvmbot) Changes Backport 692c9b210728323ac499a402ee6eb901f35856f2 Requested by: @MacDue --- Full diff: https://github.com/llvm/llvm-project/pull/125956.diff 6 Files Affected: - (modified) clang/include/clang/AST/DeclBase.h (+5-2

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

2025-02-05 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] [clang] release/20.x: [clang] Support member function poiners in Decl::getFunctionType() (#125077) (PR #125956)

2025-02-05 Thread via llvm-branch-commits
https://github.com/llvmbot created https://github.com/llvm/llvm-project/pull/125956 Backport 692c9b210728323ac499a402ee6eb901f35856f2 Requested by: @MacDue >From d8cec6dfe6abee77a802b48588bec874eaea Mon Sep 17 00:00:00 2001 From: Benjamin Maxwell Date: Mon, 3 Feb 2025 09:37:16 + Subje

[llvm-branch-commits] [clang] release/20.x: [clang] Support member function poiners in Decl::getFunctionType() (#125077) (PR #125956)

2025-02-05 Thread via llvm-branch-commits
https://github.com/llvmbot milestoned https://github.com/llvm/llvm-project/pull/125956 ___ 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/20.x: [clang] Support member function poiners in Decl::getFunctionType() (#125077) (PR #125956)

2025-02-05 Thread via llvm-branch-commits
llvmbot wrote: @efriedma-quic What do you think about merging this PR to the release branch? https://github.com/llvm/llvm-project/pull/125956 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman

[llvm-branch-commits] [clang] release/20.x: [clang] Support member function poiners in Decl::getFunctionType() (#125077) (PR #125956)

2025-02-05 Thread Eli Friedman via llvm-branch-commits
https://github.com/efriedma-quic approved this pull request. LGTM. This doesn't seem like a high priority to backport, but I guess it's safe enough for this point in the process. https://github.com/llvm/llvm-project/pull/125956 ___ llvm-branch-commit

[llvm-branch-commits] [clang] [HLSL] Define the HLSLRootSignature Attr (PR #123985)

2025-02-05 Thread Helena Kotas via llvm-branch-commits
https://github.com/hekota edited https://github.com/llvm/llvm-project/pull/123985 ___ 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] [HLSL] Define the HLSLRootSignature Attr (PR #123985)

2025-02-05 Thread Helena Kotas via llvm-branch-commits
@@ -647,6 +648,43 @@ void SemaHLSL::emitLogicalOperatorFixIt(Expr *LHS, Expr *RHS, << NewFnName << FixItHint::CreateReplacement(FullRange, OS.str()); } +void SemaHLSL::handleRootSignatureAttr(Decl *D, const ParsedAttr &AL) { + using namespace llvm::hlsl::root_signature

[llvm-branch-commits] [clang] [HLSL] Define the HLSLRootSignature Attr (PR #123985)

2025-02-05 Thread Helena Kotas via llvm-branch-commits
@@ -0,0 +1,28 @@ +// RUN: %clang_cc1 -triple dxil-pc-shadermodel6.0-library -ast-dump \ +// RUN: -disable-llvm-passes -o - %s | FileCheck %s + +// This test ensures that the sample root signature is parsed without error and +// the Attr AST Node is created succesfully. If an inva

  1   2   >