[llvm-branch-commits] [UBSan][Ignorelist] Expanding =sanitize to global. (PR #142077)

2025-05-29 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Qinkun Bao (qinkunbao) Changes See https://github.com/llvm/llvm-project/issues/139128 If multiple entries match the source, than the latest entry takes the precedence.` --- Full diff: https://github.com/llvm/llvm-project/pull/142077.diff

[llvm-branch-commits] [UBSan][Ignorelist] Expanding =sanitize to global. (PR #142077)

2025-05-29 Thread Qinkun Bao via llvm-branch-commits
https://github.com/qinkunbao created https://github.com/llvm/llvm-project/pull/142077 See https://github.com/llvm/llvm-project/issues/139128 If multiple entries match the source, than the latest entry takes the precedence.` ___ llvm-branch-commits m

[llvm-branch-commits] [llvm] llvm-readobj: Use reportFatalUsageError (PR #142039)

2025-05-29 Thread Nikita Popov via llvm-branch-commits
https://github.com/nikic approved this pull request. https://github.com/llvm/llvm-project/pull/142039 ___ 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] CodeGen: Convert some assorted errors to use reportFatalUsageError (PR #142031)

2025-05-29 Thread Nikita Popov via llvm-branch-commits
https://github.com/nikic approved this pull request. https://github.com/llvm/llvm-project/pull/142031 ___ 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-readobj: Use reportFatalUsageError (PR #142039)

2025-05-29 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm ready_for_review https://github.com/llvm/llvm-project/pull/142039 ___ 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-readobj: Use reportFatalUsageError (PR #142039)

2025-05-29 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-x86 @llvm/pr-subscribers-backend-mips Author: Matt Arsenault (arsenm) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/142039.diff 3 Files Affected: - (modified) llvm/test/tools/llvm-readobj/COFF/arm64-many-epilogs.s (+1-1)

[llvm-branch-commits] [llvm] llvm-readobj: Use reportFatalUsageError (PR #142039)

2025-05-29 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/142039?utm_source=stack-comment-downstack-mergeability-warning";

[llvm-branch-commits] [llvm] llvm-readobj: Use reportFatalUsageError (PR #142039)

2025-05-29 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm created https://github.com/llvm/llvm-project/pull/142039 None >From d27c5f8098d06d3514d1b45d3b570139c2440f66 Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Thu, 29 May 2025 23:07:02 +0200 Subject: [PATCH] llvm-readobj: Use reportFatalUsageError --- .../tools/ll

[llvm-branch-commits] [llvm] CodeGen: Convert some assorted errors to use reportFatalUsageError (PR #142031)

2025-05-29 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm updated https://github.com/llvm/llvm-project/pull/142031 >From a9173ec4e2d1b9dab45153aae837ca2aee64342e Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Thu, 29 May 2025 22:17:26 +0200 Subject: [PATCH] CodeGen: Convert some assorted errors to use reportFatalUsageEr

[llvm-branch-commits] [llvm] CodeGen: Convert some assorted errors to use reportFatalUsageError (PR #142031)

2025-05-29 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm updated https://github.com/llvm/llvm-project/pull/142031 >From a9173ec4e2d1b9dab45153aae837ca2aee64342e Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Thu, 29 May 2025 22:17:26 +0200 Subject: [PATCH] CodeGen: Convert some assorted errors to use reportFatalUsageEr

[llvm-branch-commits] [llvm] CodeGen: Convert some assorted errors to use reportFatalUsageError (PR #142031)

2025-05-29 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm updated https://github.com/llvm/llvm-project/pull/142031 >From 189f5388e77eacd720ce27016d924db43df8a18c Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Thu, 29 May 2025 22:17:26 +0200 Subject: [PATCH] CodeGen: Convert some assorted errors to use reportFatalUsageEr

[llvm-branch-commits] [llvm] CodeGen: Convert some assorted errors to use reportFatalUsageError (PR #142031)

2025-05-29 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm updated https://github.com/llvm/llvm-project/pull/142031 >From 189f5388e77eacd720ce27016d924db43df8a18c Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Thu, 29 May 2025 22:17:26 +0200 Subject: [PATCH] CodeGen: Convert some assorted errors to use reportFatalUsageEr

[llvm-branch-commits] [llvm] CodeGen: Convert some assorted errors to use reportFatalUsageError (PR #142031)

2025-05-29 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm ready_for_review https://github.com/llvm/llvm-project/pull/142031 ___ 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] [NoSanitizeList][NFI] Add containsPrefix to remove duplicated logics. (PR #142027)

2025-05-29 Thread Justin Stitt via llvm-branch-commits
https://github.com/JustinStitt commented: LGTM https://github.com/llvm/llvm-project/pull/142027 ___ 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] [utils][TableGen] Unify converting names to upper-camel case (PR #141762)

2025-05-29 Thread Kajetan Puchalski via llvm-branch-commits
@@ -172,26 +197,13 @@ class Directive : public BaseRecord { // Clang uses a different format for names of its directives enum. std::string getClangAccSpelling() const { -std::string Name = Def->getValueAsString("name").str(); +StringRef Name = Def->getValueAsString

[llvm-branch-commits] [llvm] [llvm][EmbedBitcodePass] Prevent modifying the module with ThinLTO (PR #139999)

2025-05-29 Thread Paul Kirth via llvm-branch-commits
https://github.com/ilovepi updated https://github.com/llvm/llvm-project/pull/13 >From 7373f7c53b287c9fcc2339bfe055d0eb60b974f4 Mon Sep 17 00:00:00 2001 From: Paul Kirth Date: Wed, 14 May 2025 20:47:26 -0700 Subject: [PATCH] [llvm][EmbedBitcodePass] Prevent modifying the module with ThinLTO

[llvm-branch-commits] [clang] [NoSanitizeList][NFI] Add containsPrefix to remove duplicated logics. (PR #142027)

2025-05-29 Thread Qinkun Bao via llvm-branch-commits
https://github.com/qinkunbao converted_to_draft https://github.com/llvm/llvm-project/pull/142027 ___ 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: Fix broken XFAILed test for fat pointer null initializers (PR #142015)

2025-05-29 Thread Krzysztof Drewniak via llvm-branch-commits
https://github.com/krzysz00 approved this pull request. https://github.com/llvm/llvm-project/pull/142015 ___ 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 cost model tests for special argument intrinsics (PR #141947)

2025-05-29 Thread Stanislav Mekhanoshin via llvm-branch-commits
https://github.com/rampitec approved this pull request. https://github.com/llvm/llvm-project/pull/141947 ___ 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] [NoSanitizeList][NFI] Add containsPrefix to remove duplicated logics. (PR #142027)

2025-05-29 Thread Qinkun Bao via llvm-branch-commits
https://github.com/qinkunbao edited https://github.com/llvm/llvm-project/pull/142027 ___ 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: Report special input intrinsics as free (PR #141948)

2025-05-29 Thread Stanislav Mekhanoshin via llvm-branch-commits
https://github.com/rampitec approved this pull request. https://github.com/llvm/llvm-project/pull/141948 ___ 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] [NoSanitizeList][NFI] Add containsPrefix to remove duplicated logics. (PR #142027)

2025-05-29 Thread Qinkun Bao via llvm-branch-commits
https://github.com/qinkunbao updated https://github.com/llvm/llvm-project/pull/142027 >From b4871ccd92c7006fa771d61dfbadeaeeaa2c170d Mon Sep 17 00:00:00 2001 From: Qinkun Bao Date: Thu, 29 May 2025 19:59:38 + Subject: [PATCH] format. Created using spr 1.3.6 --- clang/include/clang/Basic/N

[llvm-branch-commits] [llvm] AMDGPU: Report special input intrinsics as free (PR #141948)

2025-05-29 Thread Stanislav Mekhanoshin via llvm-branch-commits
@@ -704,8 +704,29 @@ static bool intrinsicHasPackedVectorBenefit(Intrinsic::ID ID) { InstructionCost GCNTTIImpl::getIntrinsicInstrCost(const IntrinsicCostAttributes &ICA, TTI::TargetCostKind CostKind) const { - if (ICA.getID() == Intrinsic::f

[llvm-branch-commits] [NoSanitizeList][NFI] Add containsPrefix to remove duplicated logics. (PR #142027)

2025-05-29 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Qinkun Bao (qinkunbao) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/142027.diff 2 Files Affected: - (modified) clang/include/clang/Basic/NoSanitizeList.h (+2-1) - (modified) clang/lib/Basic/NoSanitizeList.cpp (+11-

[llvm-branch-commits] [NoSanitizeList][NFI] Add containsPrefix to remove duplicated logics. (PR #142027)

2025-05-29 Thread Qinkun Bao via llvm-branch-commits
https://github.com/qinkunbao created https://github.com/llvm/llvm-project/pull/142027 None ___ 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: Report special input intrinsics as free (PR #141948)

2025-05-29 Thread Matt Arsenault via llvm-branch-commits
@@ -704,8 +704,29 @@ static bool intrinsicHasPackedVectorBenefit(Intrinsic::ID ID) { InstructionCost GCNTTIImpl::getIntrinsicInstrCost(const IntrinsicCostAttributes &ICA, TTI::TargetCostKind CostKind) const { - if (ICA.getID() == Intrinsic::f

[llvm-branch-commits] [llvm] AMDGPU: Report special input intrinsics as free (PR #141948)

2025-05-29 Thread Matt Arsenault via llvm-branch-commits
@@ -704,8 +704,29 @@ static bool intrinsicHasPackedVectorBenefit(Intrinsic::ID ID) { InstructionCost GCNTTIImpl::getIntrinsicInstrCost(const IntrinsicCostAttributes &ICA, TTI::TargetCostKind CostKind) const { - if (ICA.getID() == Intrinsic::f

[llvm-branch-commits] [llvm] [DirectX] Adding support for static samples is yaml2obj/obj2yaml (PR #139963)

2025-05-29 Thread Justin Bogner via llvm-branch-commits
https://github.com/bogner edited https://github.com/llvm/llvm-project/pull/139963 ___ 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] [DirectX] Adding support for static samples is yaml2obj/obj2yaml (PR #139963)

2025-05-29 Thread Justin Bogner via llvm-branch-commits
@@ -1157,3 +1157,49 @@ TEST(RootSignature, ParseDescriptorTable) { ASSERT_EQ(Range.OffsetInDescriptorsFromTableStart, -1); } } + +TEST(RootSignature, ParseStaticSamplers) { + { +uint8_t Buffer[] = { +0x44, 0x58, 0x42, 0x43, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

[llvm-branch-commits] [llvm] [DirectX] Adding support for static samples is yaml2obj/obj2yaml (PR #139963)

2025-05-29 Thread Justin Bogner via llvm-branch-commits
https://github.com/bogner approved this pull request. LGTM other than one comment about consistently using the `ASSERT_*` vs `EXPECT_*` macros in the tests. https://github.com/llvm/llvm-project/pull/139963 ___ llvm-branch-commits mailing list llvm-bra

[llvm-branch-commits] [llvm] AMDGPU: Report special input intrinsics as free (PR #141948)

2025-05-29 Thread Stanislav Mekhanoshin via llvm-branch-commits
@@ -704,8 +704,29 @@ static bool intrinsicHasPackedVectorBenefit(Intrinsic::ID ID) { InstructionCost GCNTTIImpl::getIntrinsicInstrCost(const IntrinsicCostAttributes &ICA, TTI::TargetCostKind CostKind) const { - if (ICA.getID() == Intrinsic::f

[llvm-branch-commits] [llvm] AMDGPU: Add baseline tests for fract combine with other fmin types (PR #141986)

2025-05-29 Thread Matt Arsenault via llvm-branch-commits
arsenm wrote: ### Merge activity * **May 29, 7:50 PM UTC**: A user started a stack merge that includes this pull request via [Graphite](https://app.graphite.dev/github/pr/llvm/llvm-project/141986). https://github.com/llvm/llvm-project/pull/141986 _

[llvm-branch-commits] [llvm] AMDGPU: Add missing fract test (PR #141985)

2025-05-29 Thread Matt Arsenault via llvm-branch-commits
arsenm wrote: ### Merge activity * **May 29, 7:50 PM UTC**: A user started a stack merge that includes this pull request via [Graphite](https://app.graphite.dev/github/pr/llvm/llvm-project/141985). https://github.com/llvm/llvm-project/pull/141985 _

[llvm-branch-commits] [llvm] AMDGPU: Handle other fmin flavors in fract combine (PR #141987)

2025-05-29 Thread Matt Arsenault via llvm-branch-commits
arsenm wrote: ### Merge activity * **May 29, 7:50 PM UTC**: A user started a stack merge that includes this pull request via [Graphite](https://app.graphite.dev/github/pr/llvm/llvm-project/141987). https://github.com/llvm/llvm-project/pull/141987 _

[llvm-branch-commits] [llvm] AMDGPU: Handle other fmin flavors in fract combine (PR #141987)

2025-05-29 Thread Stanislav Mekhanoshin via llvm-branch-commits
https://github.com/rampitec approved this pull request. https://github.com/llvm/llvm-project/pull/141987 ___ 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] Handle direct loads to LDS in memory model (PR #142018)

2025-05-29 Thread via llvm-branch-commits
github-actions[bot] wrote: :warning: C/C++ code formatter, clang-format found issues in your code. :warning: You can test this locally with the following command: ``bash git-clang-format --diff HEAD~1 HEAD --extensions cpp -- llvm/lib/Target/AMDGPU/SIMemoryLegalizer.cpp

[llvm-branch-commits] [llvm] [AMDGPU] Handle direct loads to LDS in memory model (PR #142018)

2025-05-29 Thread Austin Kerbow via llvm-branch-commits
https://github.com/kerbowa created https://github.com/llvm/llvm-project/pull/142018 Add additional waitcnt insertion to ensure proper ordering between LDS operations and direct loads from global memory to LDS on pre-GFX10 hardware. Direct LDS loads perform both a global memory load and an LDS s

[llvm-branch-commits] [llvm] [AMDGPU] Handle direct loads to LDS in memory model (PR #142018)

2025-05-29 Thread Austin Kerbow via llvm-branch-commits
kerbowa 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/142018?utm_source=stack-comment-downstack-mergeability-warning";

[llvm-branch-commits] [clang] [llvm] [HLSL][RootSignature] Implement validation of resource ranges for `RootDescriptors` (PR #140962)

2025-05-29 Thread Finn Plummer via llvm-branch-commits
@@ -951,6 +952,108 @@ void SemaHLSL::emitLogicalOperatorFixIt(Expr *LHS, Expr *RHS, << NewFnName << FixItHint::CreateReplacement(FullRange, OS.str()); } +namespace { + +// A resource range overlaps with another resource range if they have: +// - equivalent ResourceClass

[llvm-branch-commits] [clang] [llvm] [HLSL][RootSignature] Implement validation of resource ranges for `RootDescriptors` (PR #140962)

2025-05-29 Thread Finn Plummer via llvm-branch-commits
@@ -973,6 +1076,8 @@ void SemaHLSL::handleRootSignatureAttr(Decl *D, const ParsedAttr &AL) { if (auto *SignatureDecl = dyn_cast(R.getFoundDecl())) { // Perform validation of constructs here + if (handleRootSignatureDecl(SignatureDecl, AL.getLoc())) +

[llvm-branch-commits] [llvm] [DirectX] Adding support for static samples is yaml2obj/obj2yaml (PR #139963)

2025-05-29 Thread via llvm-branch-commits
https://github.com/joaosaffran updated https://github.com/llvm/llvm-project/pull/139963 >From bc246e6523f726f9a9a6c2563a58eec39888aadc Mon Sep 17 00:00:00 2001 From: joaosaffran Date: Wed, 7 May 2025 00:13:27 + Subject: [PATCH 1/6] adding static samplers --- llvm/include/llvm/BinaryFormat

[llvm-branch-commits] [llvm] [DirectX] Adding support for static samples is yaml2obj/obj2yaml (PR #139963)

2025-05-29 Thread via llvm-branch-commits
https://github.com/joaosaffran updated https://github.com/llvm/llvm-project/pull/139963 >From bc246e6523f726f9a9a6c2563a58eec39888aadc Mon Sep 17 00:00:00 2001 From: joaosaffran Date: Wed, 7 May 2025 00:13:27 + Subject: [PATCH 1/5] adding static samplers --- llvm/include/llvm/BinaryFormat

[llvm-branch-commits] [llvm] [DirectX] Adding support for static samples is yaml2obj/obj2yaml (PR #139963)

2025-05-29 Thread via llvm-branch-commits
https://github.com/joaosaffran unassigned https://github.com/llvm/llvm-project/pull/139963 ___ 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] [DirectX] Adding support for static samples is yaml2obj/obj2yaml (PR #139963)

2025-05-29 Thread via llvm-branch-commits
https://github.com/joaosaffran updated https://github.com/llvm/llvm-project/pull/139963 >From bc246e6523f726f9a9a6c2563a58eec39888aadc Mon Sep 17 00:00:00 2001 From: joaosaffran Date: Wed, 7 May 2025 00:13:27 + Subject: [PATCH 1/4] adding static samplers --- llvm/include/llvm/BinaryFormat

[llvm-branch-commits] [llvm] AMDGPU: Fix broken XFAILed test for fat pointer null initializers (PR #142015)

2025-05-29 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-amdgpu Author: Matt Arsenault (arsenm) Changes This was failing on the buffer fat pointer lowering error in the addrspace(7) case, not the expected asm printer breakage. Also remove the attempt at FileChecking the result, since that is dependent

[llvm-branch-commits] [llvm] AMDGPU: Fix broken XFAILed test for fat pointer null initializers (PR #142015)

2025-05-29 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm ready_for_review https://github.com/llvm/llvm-project/pull/142015 ___ 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: Fix broken XFAILed test for fat pointer null initializers (PR #142015)

2025-05-29 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/142015?utm_source=stack-comment-downstack-mergeability-warning";

[llvm-branch-commits] [clang] [llvm] [HLSL][RootSignature] Implement validation of resource ranges for `RootDescriptors` (PR #140962)

2025-05-29 Thread Finn Plummer via llvm-branch-commits
@@ -951,6 +952,108 @@ void SemaHLSL::emitLogicalOperatorFixIt(Expr *LHS, Expr *RHS, << NewFnName << FixItHint::CreateReplacement(FullRange, OS.str()); } +namespace { + +// A resource range overlaps with another resource range if they have: +// - equivalent ResourceClass

[llvm-branch-commits] [llvm] AMDGPU: Fix broken XFAILed test for fat pointer null initializers (PR #142015)

2025-05-29 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm created https://github.com/llvm/llvm-project/pull/142015 This was failing on the buffer fat pointer lowering error in the addrspace(7) case, not the expected asm printer breakage. Also remove the attempt at FileChecking the result, since that is dependent on the actual

[llvm-branch-commits] [mlir] [mlir][linalg] Simplify `createWriteOrMaskedWrite` (NFC) (PR #141567)

2025-05-29 Thread Renato Golin via llvm-branch-commits
https://github.com/rengolin approved this pull request. Nice clean up, thanks! https://github.com/llvm/llvm-project/pull/141567 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm

[llvm-branch-commits] [llvm] [DirectX] Adding support for static samples is yaml2obj/obj2yaml (PR #139963)

2025-05-29 Thread via llvm-branch-commits
github-actions[bot] wrote: :warning: C/C++ code formatter, clang-format found issues in your code. :warning: You can test this locally with the following command: ``bash git-clang-format --diff HEAD~1 HEAD --extensions cpp,h -- llvm/include/llvm/BinaryFormat/DXContainer.h llvm/

[llvm-branch-commits] [llvm] [DirectX] Adding support for static samples is yaml2obj/obj2yaml (PR #139963)

2025-05-29 Thread via llvm-branch-commits
https://github.com/joaosaffran updated https://github.com/llvm/llvm-project/pull/139963 >From bc246e6523f726f9a9a6c2563a58eec39888aadc Mon Sep 17 00:00:00 2001 From: joaosaffran Date: Wed, 7 May 2025 00:13:27 + Subject: [PATCH 1/3] adding static samplers --- llvm/include/llvm/BinaryFormat

[llvm-branch-commits] [llvm] [DirectX] Adding support for static samples is yaml2obj/obj2yaml (PR #139963)

2025-05-29 Thread via llvm-branch-commits
@@ -1157,3 +1157,49 @@ TEST(RootSignature, ParseDescriptorTable) { ASSERT_EQ(Range.OffsetInDescriptorsFromTableStart, -1); } } + +TEST(RootSignature, ParseStaticSamplers) { + { +uint8_t Buffer[] = { +0x44, 0x58, 0x42, 0x43, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

[llvm-branch-commits] [SPARC][IAS] Add definitions for cryptographic instructions (PR #139451)

2025-05-29 Thread via llvm-branch-commits
koachan wrote: Ping? https://github.com/llvm/llvm-project/pull/139451 ___ 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: Report special input intrinsics as free (PR #141948)

2025-05-29 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-amdgpu Author: Matt Arsenault (arsenm) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/141948.diff 2 Files Affected: - (modified) llvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp (+22-1) - (modified) llvm/test/Analysis/

[llvm-branch-commits] [llvm] 4805e27 - Revert "[HLSL][RootSignature] Implement serialization of `RootConstants` and …"

2025-05-29 Thread via llvm-branch-commits
Author: Finn Plummer Date: 2025-05-29T11:17:24-07:00 New Revision: 4805e273192ef3809c754d14ff8f19195e18a275 URL: https://github.com/llvm/llvm-project/commit/4805e273192ef3809c754d14ff8f19195e18a275 DIFF: https://github.com/llvm/llvm-project/commit/4805e273192ef3809c754d14ff8f19195e18a275.diff

[llvm-branch-commits] [clang] [llvm] [HLSL][RootSignature] Add parsing of filter enum for StaticSampler (PR #140294)

2025-05-29 Thread Justin Bogner via llvm-branch-commits
https://github.com/bogner approved this pull request. https://github.com/llvm/llvm-project/pull/140294 ___ 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] [DirectX] Adding support for static samples is yaml2obj/obj2yaml (PR #139963)

2025-05-29 Thread via llvm-branch-commits
https://github.com/joaosaffran edited https://github.com/llvm/llvm-project/pull/139963 ___ 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] [DirectX] Adding support for static samples is yaml2obj/obj2yaml (PR #139963)

2025-05-29 Thread via llvm-branch-commits
https://github.com/joaosaffran edited https://github.com/llvm/llvm-project/pull/139963 ___ 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] [DirectX] Adding support for static samples is yaml2obj/obj2yaml (PR #139963)

2025-05-29 Thread via llvm-branch-commits
https://github.com/joaosaffran edited https://github.com/llvm/llvm-project/pull/139963 ___ 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] 21ac3ae - Revert "[Clang][LoongArch] Support target attribute for function (#140700)"

2025-05-29 Thread via llvm-branch-commits
Author: Paul Kirth Date: 2025-05-29T10:49:51-07:00 New Revision: 21ac3ae0e4be720474a1eceb287eada6bd07c1f4 URL: https://github.com/llvm/llvm-project/commit/21ac3ae0e4be720474a1eceb287eada6bd07c1f4 DIFF: https://github.com/llvm/llvm-project/commit/21ac3ae0e4be720474a1eceb287eada6bd07c1f4.diff LO

[llvm-branch-commits] [llvm] AMDGPU: Handle folding vector splats of inline split f64 inline immediates (PR #140878)

2025-05-29 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm updated https://github.com/llvm/llvm-project/pull/140878 >From 1f79a2b6309fc6cb67d746652486845bc9795ff3 Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Mon, 19 May 2025 21:51:06 +0200 Subject: [PATCH] AMDGPU: Handle folding vector splats of inline split f64 inline

[llvm-branch-commits] [llvm] AMDGPU: Handle folding vector splats of inline split f64 inline immediates (PR #140878)

2025-05-29 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm updated https://github.com/llvm/llvm-project/pull/140878 >From 1f79a2b6309fc6cb67d746652486845bc9795ff3 Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Mon, 19 May 2025 21:51:06 +0200 Subject: [PATCH] AMDGPU: Handle folding vector splats of inline split f64 inline

[llvm-branch-commits] [flang] [Flang][OpenMP] - When mapping a `fir.boxchar`, map the underlying data pointer as a member (PR #141715)

2025-05-29 Thread Pranav Bhandarkar via llvm-branch-commits
https://github.com/bhandarkar-pranav updated https://github.com/llvm/llvm-project/pull/141715 >From 24bf7f3c48a0c4ff6755273c3917183040ccb9cb Mon Sep 17 00:00:00 2001 From: Pranav Bhandarkar Date: Fri, 23 May 2025 10:26:14 -0500 Subject: [PATCH 1/4] Fix boxchar with firstprivate --- .../Optimi

[llvm-branch-commits] [llvm] [llvm][EmbedBitcodePass] Prevent modifying the module with ThinLTO (PR #139999)

2025-05-29 Thread Paul Kirth via llvm-branch-commits
https://github.com/ilovepi updated https://github.com/llvm/llvm-project/pull/13 >From 5205f4abb2379b11b2a2be075c262dea8d79c889 Mon Sep 17 00:00:00 2001 From: Paul Kirth Date: Wed, 14 May 2025 20:47:26 -0700 Subject: [PATCH] [llvm][EmbedBitcodePass] Prevent modifying the module with ThinLTO

[llvm-branch-commits] [clang] fb79103 - Revert "[clang][Sema] Declare builtins used in #pragma intrinsic (#138205)"

2025-05-29 Thread via llvm-branch-commits
Author: Nick Sarnie Date: 2025-05-29T17:33:04Z New Revision: fb79103e3dca8a2a0f5732aefbc9cf71b967d357 URL: https://github.com/llvm/llvm-project/commit/fb79103e3dca8a2a0f5732aefbc9cf71b967d357 DIFF: https://github.com/llvm/llvm-project/commit/fb79103e3dca8a2a0f5732aefbc9cf71b967d357.diff LOG: R

[llvm-branch-commits] [llvm] [llvm][EmbedBitcodePass] Prevent modifying the module with ThinLTO (PR #139999)

2025-05-29 Thread Paul Kirth via llvm-branch-commits
ilovepi wrote: ### Merge activity * **May 29, 5:24 PM UTC**: A user started a stack merge that includes this pull request via [Graphite](https://app.graphite.dev/github/pr/llvm/llvm-project/13). https://github.com/llvm/llvm-project/pull/13

[llvm-branch-commits] [llvm] AMDGPU: Remove redundant operand folding checks (PR #140587)

2025-05-29 Thread Matt Arsenault via llvm-branch-commits
arsenm wrote: ### Merge activity * **May 29, 5:28 PM UTC**: A user started a stack merge that includes this pull request via [Graphite](https://app.graphite.dev/github/pr/llvm/llvm-project/140587). https://github.com/llvm/llvm-project/pull/140587 _

[llvm-branch-commits] [llvm] AMDGPU: Add baseline tests for #139317 (PR #140607)

2025-05-29 Thread Matt Arsenault via llvm-branch-commits
arsenm wrote: ### Merge activity * **May 29, 5:28 PM UTC**: A user started a stack merge that includes this pull request via [Graphite](https://app.graphite.dev/github/pr/llvm/llvm-project/140607). https://github.com/llvm/llvm-project/pull/140607 _

[llvm-branch-commits] [llvm] [llvm][EmbedBitcodePass] Prevent modifying the module with ThinLTO (PR #139999)

2025-05-29 Thread Paul Kirth via llvm-branch-commits
https://github.com/ilovepi updated https://github.com/llvm/llvm-project/pull/13 >From 5205f4abb2379b11b2a2be075c262dea8d79c889 Mon Sep 17 00:00:00 2001 From: Paul Kirth Date: Wed, 14 May 2025 20:47:26 -0700 Subject: [PATCH] [llvm][EmbedBitcodePass] Prevent modifying the module with ThinLTO

[llvm-branch-commits] [llvm] AMDGPU: Add missing fract test (PR #141985)

2025-05-29 Thread Shilei Tian via llvm-branch-commits
https://github.com/shiltian approved this pull request. https://github.com/llvm/llvm-project/pull/141985 ___ 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: Report special input intrinsics as free (PR #141948)

2025-05-29 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm ready_for_review https://github.com/llvm/llvm-project/pull/141948 ___ 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 cost model tests for special argument intrinsics (PR #141947)

2025-05-29 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm ready_for_review https://github.com/llvm/llvm-project/pull/141947 ___ 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: Cost model for minimumnum/maximumnum (PR #141946)

2025-05-29 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm ready_for_review https://github.com/llvm/llvm-project/pull/141946 ___ 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 cost model tests for special argument intrinsics (PR #141947)

2025-05-29 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-amdgpu Author: Matt Arsenault (arsenm) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/141947.diff 1 Files Affected: - (added) llvm/test/Analysis/CostModel/AMDGPU/special-argument-intrinsics.ll (+202) ``diff diff

[llvm-branch-commits] [llvm] AMDGPU: Cost model for minimumnum/maximumnum (PR #141946)

2025-05-29 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-amdgpu Author: Matt Arsenault (arsenm) Changes --- Patch is 183.80 KiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/llvm-project/pull/141946.diff 4 Files Affected: - (modified) llvm/lib/Target/AMDGPU/AMDGPUTargetTra

[llvm-branch-commits] [llvm] AMDGPU: Handle other fmin flavors in fract combine (PR #141987)

2025-05-29 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm ready_for_review https://github.com/llvm/llvm-project/pull/141987 ___ 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 tests for fract combine with other fmin types (PR #141986)

2025-05-29 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-amdgpu Author: Matt Arsenault (arsenm) Changes --- Patch is 38.50 KiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/llvm-project/pull/141986.diff 1 Files Affected: - (modified) llvm/test/CodeGen/AMDGPU/fract-match.ll

[llvm-branch-commits] [llvm] AMDGPU: Handle other fmin flavors in fract combine (PR #141987)

2025-05-29 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-amdgpu Author: Matt Arsenault (arsenm) Changes Since the input is either known not-nan, or we have explicit use code checking if the input is a nan, any of the 3 is valid to match. --- Patch is 42.42 KiB, truncated to 20.00 KiB below, full vers

[llvm-branch-commits] [llvm] AMDGPU: Add baseline tests for fract combine with other fmin types (PR #141986)

2025-05-29 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm ready_for_review https://github.com/llvm/llvm-project/pull/141986 ___ 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 missing fract test (PR #141985)

2025-05-29 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm ready_for_review https://github.com/llvm/llvm-project/pull/141985 ___ 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 missing fract test (PR #141985)

2025-05-29 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-amdgpu Author: Matt Arsenault (arsenm) Changes This was missing the case where the fcmp condition and select were inverted. --- Full diff: https://github.com/llvm/llvm-project/pull/141985.diff 1 Files Affected: - (modified) llvm/test/CodeGen/

[llvm-branch-commits] [llvm] AMDGPU: Handle other fmin flavors in fract combine (PR #141987)

2025-05-29 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm created https://github.com/llvm/llvm-project/pull/141987 Since the input is either known not-nan, or we have explicit use code checking if the input is a nan, any of the 3 is valid to match. >From c78c3c6ca86ea314488fa714dc0e6c817121a55e Mon Sep 17 00:00:00 2001 From:

[llvm-branch-commits] [llvm] AMDGPU: Handle other fmin flavors in fract combine (PR #141987)

2025-05-29 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/141987?utm_source=stack-comment-downstack-mergeability-warning";

[llvm-branch-commits] [llvm] AMDGPU: Add baseline tests for fract combine with other fmin types (PR #141986)

2025-05-29 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/141986?utm_source=stack-comment-downstack-mergeability-warning";

[llvm-branch-commits] [llvm] AMDGPU: Add missing fract test (PR #141985)

2025-05-29 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/141985?utm_source=stack-comment-downstack-mergeability-warning";

[llvm-branch-commits] [llvm] AMDGPU: Add baseline tests for fract combine with other fmin types (PR #141986)

2025-05-29 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm created https://github.com/llvm/llvm-project/pull/141986 None >From 825f96cdbbb380379a92c5d7454858dd491c82db Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Thu, 29 May 2025 15:43:48 +0200 Subject: [PATCH] AMDGPU: Add baseline tests for fract combine with other fm

[llvm-branch-commits] [llvm] AMDGPU: Add missing fract test (PR #141985)

2025-05-29 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm created https://github.com/llvm/llvm-project/pull/141985 This was missing the case where the fcmp condition and select were inverted. >From 2b6e81e808ba64d320de60e3cd3b74fd7aec12f3 Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Thu, 29 May 2025 18:42:57 +0200 Sub

[llvm-branch-commits] [llvm] [utils][TableGen] Handle versions on clause/directive spellings (PR #141766)

2025-05-29 Thread Krzysztof Parzyszek via llvm-branch-commits
kparzysz wrote: The build failures are bogus: "header file changed between PCH build and use". They seem to be related to a recent change in llvm/Support/Compiler.h, but I don't know what the exact mechanism of failure is. https://github.com/llvm/llvm-project/pull/141766 __

[llvm-branch-commits] [libcxx] release/20.x: [libcxx] Provide locale conversions to tests through lit substitution (#105651) (PR #136449)

2025-05-29 Thread Louis Dionne via llvm-branch-commits
https://github.com/ldionne approved this pull request. I am fine with this backport. I looked at the failure on macOS and they look like the ones we had after the unfortunate OS update on Github runners, so I think this patch is clean. Also this patch only touches the tests. https://github.com

[llvm-branch-commits] [llvm] [HLSL][RootSignature] Implement `ResourceRange` as an `IntervalMap` (PR #140957)

2025-05-29 Thread Justin Bogner via llvm-branch-commits
@@ -198,6 +199,61 @@ class MetadataBuilder { SmallVector GeneratedMetadata; }; +// RangeInfo holds the information to correctly construct a ResourceRange +// and retains this information to be used for displaying a better diagnostic +struct RangeInfo { + const static uint32

[llvm-branch-commits] [llvm] [HLSL][RootSignature] Implement `ResourceRange` as an `IntervalMap` (PR #140957)

2025-05-29 Thread Justin Bogner via llvm-branch-commits
@@ -198,6 +199,61 @@ class MetadataBuilder { SmallVector GeneratedMetadata; }; +// RangeInfo holds the information to correctly construct a ResourceRange +// and retains this information to be used for displaying a better diagnostic +struct RangeInfo { + const static uint32

[llvm-branch-commits] [llvm] [HLSL][RootSignature] Implement `ResourceRange` as an `IntervalMap` (PR #140957)

2025-05-29 Thread Justin Bogner via llvm-branch-commits
https://github.com/bogner approved this pull request. https://github.com/llvm/llvm-project/pull/140957 ___ 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][linalg] Simplify `createWriteOrMaskedWrite` (NFC) (PR #141567)

2025-05-29 Thread via llvm-branch-commits
https://github.com/Max191 approved this pull request. https://github.com/llvm/llvm-project/pull/141567 ___ 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] Backport: [clang] Serialization: support hashing null template arguments (PR #141957)

2025-05-29 Thread Younan Zhang via llvm-branch-commits
https://github.com/zyn0217 approved this pull request. https://github.com/llvm/llvm-project/pull/141957 ___ 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] [utils][TableGen] Unify converting names to upper-camel case (PR #141762)

2025-05-29 Thread Krzysztof Parzyszek via llvm-branch-commits
@@ -172,26 +197,13 @@ class Directive : public BaseRecord { // Clang uses a different format for names of its directives enum. std::string getClangAccSpelling() const { -std::string Name = Def->getValueAsString("name").str(); +StringRef Name = Def->getValueAsString

[llvm-branch-commits] [llvm] [utils][TableGen] Unify converting names to upper-camel case (PR #141762)

2025-05-29 Thread Kajetan Puchalski via llvm-branch-commits
https://github.com/mrkajetanp approved this pull request. LGTM https://github.com/llvm/llvm-project/pull/141762 ___ 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] [utils][TableGen] Unify converting names to upper-camel case (PR #141762)

2025-05-29 Thread Kajetan Puchalski via llvm-branch-commits
@@ -172,26 +197,13 @@ class Directive : public BaseRecord { // Clang uses a different format for names of its directives enum. std::string getClangAccSpelling() const { -std::string Name = Def->getValueAsString("name").str(); +StringRef Name = Def->getValueAsString

[llvm-branch-commits] [llvm] [utils][TableGen] Handle versions on clause/directive spellings (PR #141766)

2025-05-29 Thread Tom Eccles via llvm-branch-commits
https://github.com/tblah approved this pull request. Thanks for the update https://github.com/llvm/llvm-project/pull/141766 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bra

[llvm-branch-commits] [clang] Backport: [clang] Serialization: support hashing null template arguments (PR #141957)

2025-05-29 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-clang-modules Author: Matheus Izvekov (mizvekov) Changes When performing overload resolution during code completion, clang will allow incomplete substitutions in more places than would be allowed for valid code, because for completion to work well, it

  1   2   3   4   5   6   7   8   9   10   >