[all-commits] [llvm/llvm-project] 8f4fd8: Revert "[clang][Dependency Scanning] Report What a...

Qinkun Bao via All-commits all-commits at lists.llvm.org
Thu May 29 16:40:57 PDT 2025


  Branch: refs/heads/users/qinkunbao/spr/nosanitizelistnfi-add-containsprefix-to-remove-duplicated-logics
  Home:   https://github.com/llvm/llvm-project
  Commit: 8f4fd864033601aad99a10c2b878769b84df7537
      https://github.com/llvm/llvm-project/commit/8f4fd864033601aad99a10c2b878769b84df7537
  Author: Qiongsi Wu <qiongsiwu at gmail.com>
  Date:   2025-05-29 (Thu, 29 May 2025)

  Changed paths:
    M clang/include/clang/Tooling/DependencyScanning/ModuleDepCollector.h
    M clang/lib/Tooling/DependencyScanning/ModuleDepCollector.cpp
    R clang/test/ClangScanDeps/export.c
    M clang/test/ClangScanDeps/optimize-vfs-pch.m
    M clang/tools/clang-scan-deps/ClangScanDeps.cpp

  Log Message:
  -----------
  Revert "[clang][Dependency Scanning] Report What a Module Exports during Scanning (#137421)" (#140820)

This reverts commit ea1bfbf3f6399b7d2d840722f0e87542d00f6a35.

The commit did not solve the fundamental issue we need to handle and is
no longer necessary.

rdar://144794793


  Commit: cb065a578a9d152603c2ea66a616c1cbbc702d63
      https://github.com/llvm/llvm-project/commit/cb065a578a9d152603c2ea66a616c1cbbc702d63
  Author: Thurston Dang <thurston at google.com>
  Date:   2025-05-29 (Thu, 29 May 2025)

  Changed paths:
    M clang/lib/CodeGen/CGExpr.cpp

  Log Message:
  -----------
  [NFCI][ubsan] Add/update deprecation TODOs

Mention -fsanitize-skip-hot-cutoffs and -fsanitize-annotate-debug-info
are available as replacements


  Commit: 159646cd39eb6451c8906a999965e04d2566882f
      https://github.com/llvm/llvm-project/commit/159646cd39eb6451c8906a999965e04d2566882f
  Author: Jacob Lalonde <jalalonde at fb.com>
  Date:   2025-05-29 (Thu, 29 May 2025)

  Changed paths:
    M lldb/source/Plugins/Platform/Linux/PlatformLinux.cpp

  Log Message:
  -----------
  [LLDB] Add ifndef to platform linux (#141971)

Another iteration of fixes for #141670. Platform linux can be used by
other platforms, so we need to supply the signal values if they're not
defined.

Values are from the
[manpage](https://man7.org/linux/man-pages/man7/signal.7.html)


  Commit: dd56693451ba31d1e82a79bf460cdf85b728a246
      https://github.com/llvm/llvm-project/commit/dd56693451ba31d1e82a79bf460cdf85b728a246
  Author: Finn Plummer <finn.c.plum at gmail.com>
  Date:   2025-05-29 (Thu, 29 May 2025)

  Changed paths:
    M llvm/include/llvm/Frontend/HLSL/HLSLRootSignature.h
    M llvm/lib/Frontend/HLSL/HLSLRootSignature.cpp
    M llvm/unittests/Frontend/HLSLRootSignatureDumpTest.cpp

  Log Message:
  -----------
  Revert "[HLSL][RootSignature] Implement serialization of `RootConstants` and `RootFlags`" (#142005)

The commit caused build failures,
[here](https://lab.llvm.org/buildbot/#/builders/10/builds/6308), due to
a missing linked llvm library (HLSLFrontend) into
`clang/unittests/Parse/CMakeLists.txt`.

While it seems like the fix is straightforwardly to just add this
library, I will revert now to build and verify locally it correctly
fixes it.

Reverts llvm/llvm-project#141130


  Commit: d93788fcbf585e7cd3866b514bad972765b17e8d
      https://github.com/llvm/llvm-project/commit/d93788fcbf585e7cd3866b514bad972765b17e8d
  Author: Paul Kirth <paulkirth at google.com>
  Date:   2025-05-29 (Thu, 29 May 2025)

  Changed paths:
    M clang/lib/Basic/Targets/LoongArch.cpp
    M clang/lib/Basic/Targets/LoongArch.h
    M clang/lib/Sema/SemaDeclAttr.cpp
    R clang/test/CodeGen/LoongArch/targetattr.c
    R clang/test/Sema/attr-target-loongarch.c
    M llvm/include/llvm/TargetParser/LoongArchTargetParser.h
    M llvm/lib/TargetParser/LoongArchTargetParser.cpp

  Log Message:
  -----------
  Revert "[Clang][LoongArch] Support target attribute for function" (#141998)

Reverts llvm/llvm-project#140700

This breaks bots both in buildbot and downstream CI: 
- https://lab.llvm.org/buildbot/#/builders/11/builds/16173
- https://lab.llvm.org/buildbot/#/builders/202/builds/1531
-
https://ci.chromium.org/ui/p/fuchsia/builders/toolchain.ci/clang-host-linux-x64/b8713537585914796017/overview


  Commit: 4de69f786e207f3b5269c37df888d23eace674f7
      https://github.com/llvm/llvm-project/commit/4de69f786e207f3b5269c37df888d23eace674f7
  Author: erichkeane <ekeane at nvidia.com>
  Date:   2025-05-29 (Thu, 29 May 2025)

  Changed paths:
    M clang/include/clang/Basic/DiagnosticParseKinds.td
    M clang/lib/Parse/ParseOpenACC.cpp
    A clang/test/ParserOpenACC/extensions.c

  Log Message:
  -----------
  [OpenACC] Implement ignoring of extension clauses

OpenACC 3.4 will permit extension clauses, which are clauses that start
with '__', and contain an optional balanced-paren-token-sequence inside
of parens.

This patch ensures we consume these, and emit a warning instead of an
error for unsupported clauses.


  Commit: 945e7d33e803a0a2d9597bf2715f6370110c2dea
      https://github.com/llvm/llvm-project/commit/945e7d33e803a0a2d9597bf2715f6370110c2dea
  Author: Helena Kotas <hekotas at microsoft.com>
  Date:   2025-05-29 (Thu, 29 May 2025)

  Changed paths:
    M llvm/include/llvm/Analysis/DXILResource.h
    M llvm/lib/Analysis/DXILResource.cpp
    M llvm/lib/Target/DirectX/DXILTranslateMetadata.cpp
    M llvm/test/Analysis/DXILResource/buffer-frombinding.ll
    M llvm/test/CodeGen/DirectX/Metadata/cbuffer-only.ll
    M llvm/test/CodeGen/DirectX/Metadata/cbuffer_metadata.ll
    M llvm/test/CodeGen/DirectX/Metadata/resource-symbols.ll
    M llvm/test/CodeGen/DirectX/Metadata/srv_metadata.ll
    M llvm/test/CodeGen/DirectX/Metadata/uav_metadata.ll
    M llvm/unittests/Analysis/DXILResourceTest.cpp

  Log Message:
  -----------
  [DirectX] Update resource type names in DXIL metadata to include element type (#140937)

Update resource type names for globals variables that we generate in `DXILTranslateMetadata` pass to include element type. This change prevents duplicate types for identical resources and brings the DXIL metadata names it closer to what DXC generates.


  Commit: 7625d2e77cfd14b371c0cd159dd690eafa5c226b
      https://github.com/llvm/llvm-project/commit/7625d2e77cfd14b371c0cd159dd690eafa5c226b
  Author: Teresa Johnson <tejohnson at google.com>
  Date:   2025-05-29 (Thu, 29 May 2025)

  Changed paths:
    M llvm/include/llvm/ProfileData/IndexedMemProfData.h
    A llvm/include/llvm/ProfileData/MemProfCommon.h
    M llvm/include/llvm/ProfileData/MemProfSummary.h
    M llvm/include/llvm/ProfileData/MemProfSummaryBuilder.h
    M llvm/lib/ProfileData/CMakeLists.txt
    M llvm/lib/ProfileData/IndexedMemProfData.cpp
    M llvm/lib/ProfileData/InstrProfWriter.cpp
    A llvm/lib/ProfileData/MemProfCommon.cpp
    M llvm/lib/ProfileData/MemProfSummary.cpp
    M llvm/lib/ProfileData/MemProfSummaryBuilder.cpp
    M llvm/lib/Transforms/Instrumentation/MemProfiler.cpp
    M llvm/unittests/ProfileData/MemProfTest.cpp

  Log Message:
  -----------
  [MemProf] Summary section cleanup (NFC) (#142003)

Address post-commit review comments from PR141805. Misc cleanup but the
biggest changes are moving some common utilities to new MemProfCommon
files to reduce unnecessary includes.


  Commit: 8e19573682b6c53aa1df223e80aa46a3ab48cd35
      https://github.com/llvm/llvm-project/commit/8e19573682b6c53aa1df223e80aa46a3ab48cd35
  Author: joaosaffran <126493771+joaosaffran at users.noreply.github.com>
  Date:   2025-05-29 (Thu, 29 May 2025)

  Changed paths:
    M llvm/include/llvm/BinaryFormat/DXContainer.h
    M llvm/include/llvm/BinaryFormat/DXContainerConstants.def
    M llvm/include/llvm/MC/DXContainerRootSignature.h
    M llvm/include/llvm/Object/DXContainer.h
    M llvm/include/llvm/ObjectYAML/DXContainerYAML.h
    M llvm/lib/MC/DXContainerRootSignature.cpp
    M llvm/lib/ObjectYAML/DXContainerEmitter.cpp
    M llvm/lib/ObjectYAML/DXContainerYAML.cpp
    A llvm/test/ObjectYAML/DXContainer/RootSignature-DescriptorTable1.0.yaml
    A llvm/test/ObjectYAML/DXContainer/RootSignature-DescriptorTable1.1.yaml
    M llvm/test/ObjectYAML/DXContainer/RootSignature-MultipleParameters.yaml
    M llvm/unittests/Object/DXContainerTest.cpp
    M llvm/unittests/ObjectYAML/DXContainerYAMLTest.cpp

  Log Message:
  -----------
  [DirectX] adding support to read/write descriptor table data using obj2yaml/yaml2obj (#138315)

Closes:
https://github.com/orgs/llvm/projects/4/views/22?sliceBy%5Bvalue%5D=joaosaffran&pane=issue&itemId=97332852&issue=llvm%7Cllvm-project%7C126635

---------

Co-authored-by: joaosaffran <joao.saffran at microsoft.com>


  Commit: 273e463f4526691ede59dbda738a8b24d2d1d13c
      https://github.com/llvm/llvm-project/commit/273e463f4526691ede59dbda738a8b24d2d1d13c
  Author: Kazu Hirata <kazu at google.com>
  Date:   2025-05-29 (Thu, 29 May 2025)

  Changed paths:
    M llvm/lib/Transforms/Instrumentation/MemProfiler.cpp

  Log Message:
  -----------
  [memprof] Improve a comment (NFC) (#142002)

We can go one step further than "compare" and mention "prefix" to
succinctly describe the function.


  Commit: c3bbc06783253f9d9ba4e15d1a6c92590cd46ece
      https://github.com/llvm/llvm-project/commit/c3bbc06783253f9d9ba4e15d1a6c92590cd46ece
  Author: Alex MacLean <amaclean at nvidia.com>
  Date:   2025-05-29 (Thu, 29 May 2025)

  Changed paths:
    M llvm/lib/Target/NVPTX/NVPTXForwardParams.cpp
    M llvm/lib/Target/NVPTX/NVPTXISelDAGToDAG.cpp
    M llvm/lib/Target/NVPTX/NVPTXInstrInfo.td
    M llvm/lib/Target/NVPTX/NVPTXIntrinsics.td
    M llvm/lib/Target/NVPTX/NVPTXProxyRegErasure.cpp
    M llvm/test/CodeGen/MIR/NVPTX/expected-floating-point-literal.mir
    M llvm/test/CodeGen/MIR/NVPTX/floating-point-immediate-operands.mir
    M llvm/test/CodeGen/MIR/NVPTX/floating-point-invalid-type-error.mir
    M llvm/test/CodeGen/NVPTX/bf16-instructions.ll
    M llvm/test/CodeGen/NVPTX/bf16x2-instructions.ll
    M llvm/test/CodeGen/NVPTX/f16-instructions.ll
    M llvm/test/CodeGen/NVPTX/f16x2-instructions.ll
    M llvm/test/CodeGen/NVPTX/fexp2.ll
    M llvm/test/CodeGen/NVPTX/flog2.ll
    M llvm/test/CodeGen/NVPTX/fma-relu-contract.ll
    M llvm/test/CodeGen/NVPTX/fma-relu-fma-intrinsic.ll
    M llvm/test/CodeGen/NVPTX/fma-relu-instruction-flag.ll
    M llvm/test/CodeGen/NVPTX/i8x4-instructions.ll
    M llvm/test/CodeGen/NVPTX/inline-asm.ll
    M llvm/test/CodeGen/NVPTX/math-intrins.ll
    M llvm/test/CodeGen/NVPTX/param-add.ll
    M llvm/test/CodeGen/NVPTX/proxy-reg-erasure.mir

  Log Message:
  -----------
  [NVPTX] Cleanup ISel code after float register removal, use BasicNVPTXInst (#141711)


  Commit: 2a22e79b178050f8d62ea93f70efc172410b6641
      https://github.com/llvm/llvm-project/commit/2a22e79b178050f8d62ea93f70efc172410b6641
  Author: Helena Kotas <hekotas at microsoft.com>
  Date:   2025-05-29 (Thu, 29 May 2025)

  Changed paths:
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/test/AST/HLSL/ByteAddressBuffers-AST.hlsl
    M clang/test/AST/HLSL/OutArgExpr.hlsl
    M clang/test/AST/HLSL/StructuredBuffers-AST.hlsl
    M clang/test/AST/HLSL/TypedBuffers-AST.hlsl
    M clang/test/AST/HLSL/ast-dump-comment-cbuffer.hlsl
    M clang/test/AST/HLSL/cbuffer.hlsl
    M clang/test/AST/HLSL/cbuffer_and_namespaces.hlsl
    M clang/test/AST/HLSL/default_cbuffer.hlsl
    M clang/test/AST/HLSL/is_structured_resource_element_compatible_concept.hlsl
    M clang/test/AST/HLSL/is_typed_resource_element_compatible_concept.hlsl
    M clang/test/AST/HLSL/packoffset.hlsl
    M clang/test/AST/HLSL/pch.hlsl
    M clang/test/AST/HLSL/pch_hlsl_buffer.hlsl
    M clang/test/AST/HLSL/pch_with_buf.hlsl
    M clang/test/AST/HLSL/private.hlsl
    M clang/test/AST/HLSL/resource_binding_attr.hlsl
    M clang/test/CodeGenHLSL/GlobalConstructorLib.hlsl
    M clang/test/CodeGenHLSL/GlobalConstructors.hlsl
    M clang/test/CodeGenHLSL/builtins/AppendStructuredBuffer-elementtype.hlsl
    M clang/test/CodeGenHLSL/builtins/ByteAddressBuffers-constructors.hlsl
    M clang/test/CodeGenHLSL/builtins/ConsumeStructuredBuffer-elementtype.hlsl
    M clang/test/CodeGenHLSL/builtins/RWBuffer-constructor.hlsl
    M clang/test/CodeGenHLSL/builtins/RWBuffer-elementtype.hlsl
    M clang/test/CodeGenHLSL/builtins/RWBuffer-subscript.hlsl
    M clang/test/CodeGenHLSL/builtins/RWStructuredBuffer-elementtype.hlsl
    M clang/test/CodeGenHLSL/builtins/RasterizerOrderedStructuredBuffer-elementtype.hlsl
    M clang/test/CodeGenHLSL/builtins/StructuredBuffer-elementtype.hlsl
    M clang/test/CodeGenHLSL/builtins/StructuredBuffers-constructors.hlsl
    M clang/test/CodeGenHLSL/builtins/StructuredBuffers-methods-ps.hlsl
    M clang/test/CodeGenHLSL/builtins/StructuredBuffers-subscripts.hlsl
    M clang/test/CodeGenHLSL/cbuffer.hlsl
    M clang/test/CodeGenHLSL/cbuffer_align.hlsl
    M clang/test/CodeGenHLSL/cbuffer_and_namespaces.hlsl
    M clang/test/CodeGenHLSL/cbuffer_with_static_global_and_function.hlsl
    M clang/test/CodeGenHLSL/convergence/global_array.hlsl
    M clang/test/CodeGenHLSL/default_cbuffer.hlsl
    M clang/test/CodeGenHLSL/default_cbuffer_with_layout.hlsl
    M clang/test/CodeGenHLSL/implicit-norecurse-attrib.hlsl
    M clang/test/CodeGenHLSL/inline-functions.hlsl
    M clang/test/CodeGenHLSL/static-local-ctor.hlsl
    M clang/test/ParserHLSL/cb_error.hlsl
    M clang/test/ParserHLSL/hlsl_resource_class_attr.hlsl
    M clang/test/ParserHLSL/hlsl_resource_handle_attrs.hlsl
    M clang/test/ParserHLSL/invalid_inside_cb.hlsl
    M clang/test/SemaHLSL/BuiltIns/RWBuffers.hlsl
    M clang/test/SemaHLSL/BuiltIns/StructuredBuffers.hlsl
    M clang/test/SemaHLSL/BuiltIns/hlsl_resource_t.hlsl
    M clang/test/SemaHLSL/Language/AggregateSplatCast-errors.hlsl
    M clang/test/SemaHLSL/cb_error.hlsl
    M clang/test/SemaHLSL/export.hlsl
    M clang/test/SemaHLSL/packoffset-invalid.hlsl
    M clang/test/SemaHLSL/resource_binding_attr_error.hlsl
    M clang/test/SemaHLSL/resource_binding_attr_error_basic.hlsl
    M clang/test/SemaHLSL/resource_binding_attr_error_resource.hlsl
    M clang/test/SemaHLSL/resource_binding_attr_error_silence_diags.hlsl
    M clang/test/SemaHLSL/resource_binding_attr_error_space.hlsl
    M clang/test/SemaHLSL/resource_binding_attr_error_udt.hlsl
    M clang/test/SemaHLSL/resource_binding_implicit.hlsl

  Log Message:
  -----------
  [HLSL] Make implicit binding warning off by default (#141879)

Make implicit binding warning off by default and remove `-Wno-hlsl-implicit-binding` from tests.

Closes #135907


  Commit: 4811c67d62b840a7f5d3320de0b15ba96e27d2e4
      https://github.com/llvm/llvm-project/commit/4811c67d62b840a7f5d3320de0b15ba96e27d2e4
  Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
  Date:   2025-05-29 (Thu, 29 May 2025)

  Changed paths:
    M flang/lib/Lower/OpenMP/ClauseProcessor.cpp
    A flang/test/Lower/OpenMP/copyprivate4.f90

  Log Message:
  -----------
  [flang][OpenMP] Treat ClassType as BoxType in COPYPRIVATE (#141844)

This fixes the second problem reported in
https://github.com/llvm/llvm-project/issues/141481


  Commit: dce490e529ead7885852950394d520de1f53b917
      https://github.com/llvm/llvm-project/commit/dce490e529ead7885852950394d520de1f53b917
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2025-05-29 (Thu, 29 May 2025)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/test/CodeGen/RISCV/bswap-bitreverse.ll

  Log Message:
  -----------
  [RISCV] Custom type legalize MVT::i8 BITREVERSE to BREV8. (#142001)

If we're only reversing a single byte, we can use BREV8 directly.

If we let it type legalize we'll get (srl (bitreverse X), XLen-8). In op
legalization, we'll expand that to (srl (brev8 (bswap X)), XLen - 8).
Then, SimplifyDemandedBits can reduce it to (srl (brev8 (shl X, XLen -
8)), XLen - 8). We could add a DAGCombine to pull the shl through the
brev8 to put it next to the srl which will allow it to become (and
(brev8 X), 255). Unless we can prove the upper XLen-8 bits are 0 or that
they aren't demanded, we can't remove the `and`.

By emitting BREV8 directly when we still know the type is i8, we can
avoid this. We already DAGCombine i16 and i32 (bitreverse (bswap X)) to
BREV8 early for the same reason.

I've added an i7 test case so we can still see the opportunity for
improvement on weird sizes.

Fixes the RISC-V part of #141863.


  Commit: 8e2641a97fbffdb2abce57e9c0b6d1d8d5e00fd9
      https://github.com/llvm/llvm-project/commit/8e2641a97fbffdb2abce57e9c0b6d1d8d5e00fd9
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2025-05-29 (Thu, 29 May 2025)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/test/CodeGen/RISCV/rv32zbb-intrinsic.ll
    M llvm/test/CodeGen/RISCV/rv64zbb-intrinsic.ll

  Log Message:
  -----------
  [RISCV] Add ORC_B to SimplifyDemandedBitsForTargetNode. (#141975)


  Commit: b3660e4aa2e4269079eb3d8d702d9f8543583c08
      https://github.com/llvm/llvm-project/commit/b3660e4aa2e4269079eb3d8d702d9f8543583c08
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2025-05-29 (Thu, 29 May 2025)

  Changed paths:
    M llvm/test/CodeGen/AMDGPU/fract-match.ll

  Log Message:
  -----------
  AMDGPU: Regenerate test checks (#141984)

Update to new update_test_checks output


  Commit: 3c5c0709e585892f8ed1ad248e957f5b92f1a04b
      https://github.com/llvm/llvm-project/commit/3c5c0709e585892f8ed1ad248e957f5b92f1a04b
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2025-05-29 (Thu, 29 May 2025)

  Changed paths:
    M llvm/test/CodeGen/AMDGPU/fract-match.ll

  Log Message:
  -----------
  AMDGPU: Add missing fract test (#141985)

This was missing the case where the fcmp condition and select were
inverted.


  Commit: 8e2a42aa921f11d14064a41b6fb28a0bad38af32
      https://github.com/llvm/llvm-project/commit/8e2a42aa921f11d14064a41b6fb28a0bad38af32
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2025-05-29 (Thu, 29 May 2025)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp

  Log Message:
  -----------
  [X86] Return from SimplifyDemandedBitsForTargetNode for X86ISD::CMOV/ANDP after computing KnownBits. NFC (#141992)

If we break out of the switch, I believe we fall back to the generic
SimplifyDemandedBitsForTargetNode which will call
computeKnownBitsForTargetNode. This will recurse again and calculate
it's own KnownBits. Since we already did the recursion, we should keep
the results.


  Commit: c569248b74337431a1065b10df5cf6029b4784ba
      https://github.com/llvm/llvm-project/commit/c569248b74337431a1065b10df5cf6029b4784ba
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2025-05-29 (Thu, 29 May 2025)

  Changed paths:
    M llvm/test/CodeGen/AMDGPU/fract-match.ll

  Log Message:
  -----------
  AMDGPU: Add baseline tests for fract combine with other fmin types (#141986)


  Commit: 798ae823997b417cb85da098f16e4b1101d9b68c
      https://github.com/llvm/llvm-project/commit/798ae823997b417cb85da098f16e4b1101d9b68c
  Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
  Date:   2025-05-29 (Thu, 29 May 2025)

  Changed paths:
    M flang/lib/Semantics/check-omp-structure.cpp
    M flang/lib/Semantics/check-omp-structure.h
    M flang/test/Semantics/OpenMP/copyprivate04.f90
    A flang/test/Semantics/OpenMP/copyprivate05.f90

  Log Message:
  -----------
  [flang][OpenMP] Verify that arguments to COPYPRIVATE are variables (#141823)

The check if the arguments are variable list items was missing, leading
to a crash in lowering in some invalid situations.

This fixes the first testcase reported in
https://github.com/llvm/llvm-project/issues/141481


  Commit: cc8d253f390e4afc7b275a234f5fcdc976a0af71
      https://github.com/llvm/llvm-project/commit/cc8d253f390e4afc7b275a234f5fcdc976a0af71
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2025-05-29 (Thu, 29 May 2025)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUCodeGenPrepare.cpp
    M llvm/test/CodeGen/AMDGPU/fract-match.ll

  Log Message:
  -----------
  AMDGPU: Handle other fmin flavors in fract combine (#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.


  Commit: 3315b84a50a94c229e5a04b05a34ca5d5e374533
      https://github.com/llvm/llvm-project/commit/3315b84a50a94c229e5a04b05a34ca5d5e374533
  Author: cor3ntin <corentinjabot at gmail.com>
  Date:   2025-05-29 (Thu, 29 May 2025)

  Changed paths:
    M clang/lib/Frontend/VerifyDiagnosticConsumer.cpp
    A clang/test/Frontend/verify-gh141221.c

  Log Message:
  -----------
  [Clang] Fix an out of bound access in -verify comment parsing (#141940)

When the comment ends with a splice at EOF.

Fixes #141221


  Commit: c8eb0949020103ff16ed494e83e757c34f50b151
      https://github.com/llvm/llvm-project/commit/c8eb0949020103ff16ed494e83e757c34f50b151
  Author: Finn Plummer <finn.c.plum at gmail.com>
  Date:   2025-05-29 (Thu, 29 May 2025)

  Changed paths:
    M clang/include/clang/Lex/HLSLRootSignatureTokenKinds.def
    M clang/include/clang/Parse/ParseHLSLRootSignature.h
    M clang/lib/Parse/ParseHLSLRootSignature.cpp
    M clang/unittests/Lex/LexHLSLRootSignatureTest.cpp
    M clang/unittests/Parse/ParseHLSLRootSignatureTest.cpp
    M llvm/include/llvm/Frontend/HLSL/HLSLRootSignature.h

  Log Message:
  -----------
  [HLSL][RootSiganture] Add parsing of new number params in StaticSampler (#140291)

- defines in-memory reprsentation of `maxAnisotropy`, `minLOD` and
`maxLOD`
- integrates parsing of these number parameters with their respective,
`parseUInt` and `parseFloat` respectively
 - adds basic unit tests to demonstrate setting functionality

Part 3 of https://github.com/llvm/llvm-project/issues/126574


  Commit: ddc8db792a8041ccd73581a743fffd725c3eef73
      https://github.com/llvm/llvm-project/commit/ddc8db792a8041ccd73581a743fffd725c3eef73
  Author: Paul Kirth <paulkirth at google.com>
  Date:   2025-05-29 (Thu, 29 May 2025)

  Changed paths:
    M clang-tools-extra/clang-doc/Serialize.cpp

  Log Message:
  -----------
  [clang-doc] Fix assertions error in Serialize.cpp (#141990)

We can only print and use a default arg, if it is instantiated.
I was unable to reduce the test case for this to something of reasonable
size, but this is easily hit by running clang-doc to generate clang's
documentation. For now, we can fix the assertion quickly to unbreak
users, and add the proper test once it is small enough.


  Commit: a8c6a5017de7076f3011b0ddba6f224f7e1f93f3
      https://github.com/llvm/llvm-project/commit/a8c6a5017de7076f3011b0ddba6f224f7e1f93f3
  Author: sribee8 <145801438+sribee8 at users.noreply.github.com>
  Date:   2025-05-29 (Thu, 29 May 2025)

  Changed paths:
    M libc/config/linux/x86_64/entrypoints.txt
    M libc/include/wchar.yaml
    M libc/src/wchar/CMakeLists.txt
    A libc/src/wchar/wmemcmp.cpp
    A libc/src/wchar/wmemcmp.h
    M libc/test/src/wchar/CMakeLists.txt
    A libc/test/src/wchar/wmemcmp_test.cpp

  Log Message:
  -----------
  [libc] wmemcmp implementation (#141880)

Implemented wmemcmp as well as tests for the function.

Fixes Issue #141857

---------

Co-authored-by: Sriya Pratipati <sriyap at google.com>


  Commit: e74b45e0789ab1da1afab48dc2fe39e0ed7a326e
      https://github.com/llvm/llvm-project/commit/e74b45e0789ab1da1afab48dc2fe39e0ed7a326e
  Author: S. VenkataKeerthy <31350914+svkeerthy at users.noreply.github.com>
  Date:   2025-05-29 (Thu, 29 May 2025)

  Changed paths:
    M llvm/lib/Analysis/IR2Vec.cpp
    M llvm/unittests/Analysis/CMakeLists.txt
    A llvm/unittests/Analysis/IR2VecTest.cpp

  Log Message:
  -----------
  [IR2Vec] Adding unit tests (#141873)

This PR adds unit tests for IR2Vec

(Tracking issue - #141817)


  Commit: bedbc65871828f0f3f0a7e25d38af2867e8c546c
      https://github.com/llvm/llvm-project/commit/bedbc65871828f0f3f0a7e25d38af2867e8c546c
  Author: Paul Kirth <paulkirth at google.com>
  Date:   2025-05-29 (Thu, 29 May 2025)

  Changed paths:
    A llvm/test/Transforms/EmbedBitcode/embed-wpd.ll

  Log Message:
  -----------
  [llvm][EmbedBitcodePass] Pre-commit test for using WPD with FatLTO (#139998)

This is a reduced test case from #139440.


  Commit: 55c7d5cdadc4dd0fab843992e0fb31ef7ea6fda4
      https://github.com/llvm/llvm-project/commit/55c7d5cdadc4dd0fab843992e0fb31ef7ea6fda4
  Author: Paul Kirth <paulkirth at google.com>
  Date:   2025-05-29 (Thu, 29 May 2025)

  Changed paths:
    M llvm/lib/Transforms/IPO/EmbedBitcodePass.cpp
    M llvm/test/Transforms/EmbedBitcode/embed-wpd.ll

  Log Message:
  -----------
  [llvm][EmbedBitcodePass] Prevent modifying the module with ThinLTO (#139999)

Since ThinLTOBitcodeWriterPass handles many things for CFI and WPD, like
updating vtable linkage, we need to prevent those changes from
persisting in the non-LTO object code we will compile under FatLTO.

The only non-invasive way to do that is to clone the module when
serializing the module in ThinLTOBitcodeWriterPass. We may be able to
avoid cloning in the future with additional infrastructure to restore
the IR to its original state.

Fixes #139440


  Commit: a0d699a8e686cba99690cf28463d14526c5bfbc8
      https://github.com/llvm/llvm-project/commit/a0d699a8e686cba99690cf28463d14526c5bfbc8
  Author: Slava Zakharin <szakharin at nvidia.com>
  Date:   2025-05-29 (Thu, 29 May 2025)

  Changed paths:
    M flang/include/flang/Optimizer/Transforms/Passes.td
    M flang/lib/Optimizer/Passes/Pipelines.cpp
    M flang/lib/Optimizer/Transforms/FunctionAttr.cpp
    M flang/test/Fir/array-coor.fir
    M flang/test/Fir/arrayset.fir
    M flang/test/Fir/arrexp.fir
    M flang/test/Fir/box-offset-codegen.fir
    M flang/test/Fir/box-typecode.fir
    M flang/test/Fir/box.fir
    M flang/test/Fir/boxproc.fir
    M flang/test/Fir/commute.fir
    M flang/test/Fir/coordinateof.fir
    M flang/test/Fir/embox.fir
    M flang/test/Fir/field-index.fir
    M flang/test/Fir/ignore-missing-type-descriptor.fir
    M flang/test/Fir/polymorphic.fir
    M flang/test/Fir/rebox.fir
    M flang/test/Fir/struct-passing-x86-64-byval.fir
    M flang/test/Fir/target-rewrite-complex-10-x86.fir
    M flang/test/Fir/target.fir
    M flang/test/Fir/tbaa-codegen.fir
    M flang/test/Fir/tbaa-codegen2.fir
    M flang/test/Integration/OpenMP/copyprivate.f90
    M flang/test/Integration/debug-local-var-2.f90
    M flang/test/Integration/unroll-loops.f90
    M flang/test/Lower/HLFIR/unroll-loops.fir
    M flang/test/Lower/forall/character-1.f90
    M flang/test/Transforms/constant-argument-globalisation.fir
    A flang/test/Transforms/function-attrs-noalias.fir
    M flang/test/Transforms/function-attrs.fir

  Log Message:
  -----------
  Reland "[flang] Added noalias attribute to function arguments. (#140803)"

This helps to disambiguate accesses in the caller and the callee
after LLVM inlining in some apps. I did not see any performance
changes, but this is one step towards enabling other optimizations
in the apps that I am looking at.

The definition of llvm.noalias says:
```
... indicates that memory locations accessed via pointer values based on the argument or return value are not also accessed, during the execution of the function, via pointer values not based on the argument or return value. This guarantee only holds for memory locations that are modified, by any means, during the execution of the function.
```

I believe this exactly matches Fortran rules for the dummy arguments
that are modified during their subprogram execution.

I also set llvm.noalias and llvm.nocapture on the !fir.box<> arguments,
because the corresponding descriptors cannot be captured and cannot
alias anything (not based on them) during the execution of the
subprogram.


  Commit: 821cd6aa77233b4659fafca5b2d63432ae32610c
      https://github.com/llvm/llvm-project/commit/821cd6aa77233b4659fafca5b2d63432ae32610c
  Author: Zequan Wu <zequanwu at google.com>
  Date:   2025-05-29 (Thu, 29 May 2025)

  Changed paths:
    M llvm/lib/Object/RelocationResolver.cpp
    A llvm/test/tools/llvm-dwarfdump/X86/debug_info_crel.test

  Log Message:
  -----------
  [Object] Handle SHT_CREL relocation sections when resolving relocation data (#141843)

Fixes #141680


  Commit: 17ee4aecdab466003717149ce61bd593cd211048
      https://github.com/llvm/llvm-project/commit/17ee4aecdab466003717149ce61bd593cd211048
  Author: Cyndy Ishida <cyndy_ishida at apple.com>
  Date:   2025-05-29 (Thu, 29 May 2025)

  Changed paths:
    M llvm/docs/ResponseGuide.rst

  Log Message:
  -----------
  [docs] Update expected cadence of when Transparency reports are published (#142026)


  Commit: 572b89a1f42b83a0cb91534295ae7f360dff6d68
      https://github.com/llvm/llvm-project/commit/572b89a1f42b83a0cb91534295ae7f360dff6d68
  Author: Jan Svoboda <jan_svoboda at apple.com>
  Date:   2025-05-29 (Thu, 29 May 2025)

  Changed paths:
    M clang/include/clang/Tooling/DependencyScanning/ModuleDepCollector.h
    M clang/lib/Tooling/DependencyScanning/ModuleDepCollector.cpp

  Log Message:
  -----------
  NFCI: [clang][deps] Simplify handling of main TU context hash (#141966)

Instead of handling the context hash in a preprocessor callback on each
file change, do it once at the end of the scan.


  Commit: c7cbaef1e9199bc3a1feca97b7ad03adcd5cbdb3
      https://github.com/llvm/llvm-project/commit/c7cbaef1e9199bc3a1feca97b7ad03adcd5cbdb3
  Author: joaosaffran <126493771+joaosaffran at users.noreply.github.com>
  Date:   2025-05-29 (Thu, 29 May 2025)

  Changed paths:
    M llvm/include/llvm/BinaryFormat/DXContainer.h
    M llvm/include/llvm/BinaryFormat/DXContainerConstants.def
    M llvm/include/llvm/MC/DXContainerRootSignature.h
    M llvm/include/llvm/Object/DXContainer.h
    M llvm/include/llvm/ObjectYAML/DXContainerYAML.h
    M llvm/lib/MC/DXContainerRootSignature.cpp
    M llvm/lib/Object/DXContainer.cpp
    M llvm/lib/ObjectYAML/DXContainerEmitter.cpp
    M llvm/lib/ObjectYAML/DXContainerYAML.cpp
    A llvm/test/ObjectYAML/DXContainer/RootSignature-StaticSamplers-Defaults.yaml
    A llvm/test/ObjectYAML/DXContainer/RootSignature-StaticSamplers.yaml
    M llvm/unittests/Object/DXContainerTest.cpp
    M llvm/unittests/ObjectYAML/DXContainerYAMLTest.cpp

  Log Message:
  -----------
  [DirectX] Adding support for static samplers in yaml2obj/obj2yaml (#139963)

- Adds support for static samplers ins dxcontainer binary format.
- Adds writing logic to mcdxbc
- adds reading logic to Object
- adds tests
Closes: [126636](https://github.com/llvm/llvm-project/issues/126636)

---------

Co-authored-by: joaosaffran <joao.saffran at microsoft.com>


  Commit: beb6972cbb549eb4f00345f6e04427e266b2dd0c
      https://github.com/llvm/llvm-project/commit/beb6972cbb549eb4f00345f6e04427e266b2dd0c
  Author: peremyach <akhabutdinov at meta.com>
  Date:   2025-05-29 (Thu, 29 May 2025)

  Changed paths:
    M llvm/lib/DebugInfo/DWARF/DWARFUnit.cpp

  Log Message:
  -----------
  fix llvm-gsymutil verification (#141751)

Verification crashed here
https://github.com/llvm/llvm-project/blob/main/llvm/lib/DebugInfo/DWARF/DWARFUnit.cpp#L519
The reason being that during verification to extract inline_info we
recreate compile unit dies. Assert fails because we previously cleaned
up just the DIEs but some other fields remained initialized.

Co-authored-by: Arslan Khabutdinov <akhabutdinov at fb.com>


  Commit: 1651aa294342b2c019d3691fbfe890ee65194e1b
      https://github.com/llvm/llvm-project/commit/1651aa294342b2c019d3691fbfe890ee65194e1b
  Author: Philip Reames <preames at rivosinc.com>
  Date:   2025-05-29 (Thu, 29 May 2025)

  Changed paths:
    M llvm/include/llvm/CodeGen/TargetLowering.h
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    M llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp

  Log Message:
  -----------
  [SDAG] Split the partial reduce legalize table by opcode [nfc] (#141970)

On it's own, this change should be non-functional. This is a preparatory
change for https://github.com/llvm/llvm-project/pull/141267 which adds a
new form of PARTIAL_REDUCE_*MLA. As noted in the discussion on that
review, AArch64 needs a different set of legal and custom types for the
PARTIAL_REDUCE_SUMLA variant than the currently existing
PARTIAL_REDUCE_UMLA/SMLA.


  Commit: 84a69a0f8f60b6d852b9a16be199bfa432706b0c
      https://github.com/llvm/llvm-project/commit/84a69a0f8f60b6d852b9a16be199bfa432706b0c
  Author: Shilei Tian <i at tianshilei.me>
  Date:   2025-05-29 (Thu, 29 May 2025)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
    M llvm/test/CodeGen/AMDGPU/GlobalISel/divergent-control-flow.ll
    M llvm/test/CodeGen/AMDGPU/branch-folding-implicit-def-subreg.ll
    M llvm/test/CodeGen/AMDGPU/gep-const-address-space.ll
    M llvm/test/CodeGen/AMDGPU/global-atomicrmw-fadd.ll
    M llvm/test/CodeGen/AMDGPU/infer-addrspace-flat-atomic.ll
    M llvm/test/CodeGen/AMDGPU/llc-pipeline.ll
    M llvm/test/CodeGen/AMDGPU/simple-indirect-call.ll
    M llvm/test/CodeGen/AMDGPU/swdev282079.ll
    M llvm/test/CodeGen/AMDGPU/uniform_branch_with_floating_point_cond.ll
    A llvm/test/Transforms/InferAddressSpaces/AMDGPU/global-atomicrmw-fadd.ll
    A llvm/test/Transforms/PhaseOrdering/AMDGPU/infer-address-space.ll
    A llvm/test/Transforms/PhaseOrdering/AMDGPU/lit.local.cfg

  Log Message:
  -----------
  [AMDGPU] Move InferAddressSpacesPass to middle end optimization pipeline (#138604)

It will run twice in the non-LTO pipeline with `O1` or higher. In LTO post link pipeline, it will be run once with `O2` or higher, since inline and SROA don't run in `O1`.


  Commit: b3457d823e5e08462f7bb73b9c667da542e76a45
      https://github.com/llvm/llvm-project/commit/b3457d823e5e08462f7bb73b9c667da542e76a45
  Author: Zequan Wu <zequanwu at google.com>
  Date:   2025-05-29 (Thu, 29 May 2025)

  Changed paths:
    R llvm/test/tools/llvm-dwarfdump/X86/debug_info_crel.test
    A llvm/test/tools/llvm-dwarfdump/X86/debug_info_crel.yaml

  Log Message:
  -----------
  Fix 821cd6a to use yaml test instead because clang is not a dependency for the test suite.


  Commit: 9af5e0628347dff59c1b23c4be579889986d8530
      https://github.com/llvm/llvm-project/commit/9af5e0628347dff59c1b23c4be579889986d8530
  Author: nerix <nerixdev at outlook.de>
  Date:   2025-05-29 (Thu, 29 May 2025)

  Changed paths:
    M lldb/test/API/tools/lldb-dap/threads/Makefile
    M lldb/test/API/tools/lldb-dap/threads/TestDAP_threads.py
    R lldb/test/API/tools/lldb-dap/threads/main.c
    A lldb/test/API/tools/lldb-dap/threads/main.cpp
    M lldb/tools/lldb-dap/JSONUtils.cpp

  Log Message:
  -----------
  [lldb-dap] Treat empty thread names as unset (#141529)

When a target thread returned an empty but not `nullptr` string as its
name, the thread would show up with an empty name in lldb-dap.

I don't know how this works on macOS and Linux, but on Windows,
[`TargetThreadWindows::GetName`](https://github.com/llvm/llvm-project/blob/deedc8a181b9598d188b2175357bce990a271d5d/lldb/source/Plugins/Process/Windows/Common/TargetThreadWindows.cpp#L178-L204)
returns a non-null pointer to an empty string, because on MSVC's STL,
`std::string{}.c_str()` returns a pointer to inside the object (the SSO
storage).

This changes the check in `CreateThread`, when no custom thread
formatter is set, to check for the length of the thread and queue name
instead of it being `nullptr`.


  Commit: cde67b6663f994fcb4ded28fd79b23a13d347c4a
      https://github.com/llvm/llvm-project/commit/cde67b6663f994fcb4ded28fd79b23a13d347c4a
  Author: Ely Ronnen <elyronnen at gmail.com>
  Date:   2025-05-29 (Thu, 29 May 2025)

  Changed paths:
    M lldb/tools/lldb-dap/src-ts/debug-configuration-provider.ts

  Log Message:
  -----------
  [lldb-dap] fix config value comparison (#142017)

Fix TypeSCript comparison (when defining an empty config string like
`commandEscapePrefix=""` it would skip it)


  Commit: 8083944be0f2e610bb4170247522709a8e9f1ed3
      https://github.com/llvm/llvm-project/commit/8083944be0f2e610bb4170247522709a8e9f1ed3
  Author: Aiden Grossman <aidengrossman at google.com>
  Date:   2025-05-29 (Thu, 29 May 2025)

  Changed paths:
    M .ci/monolithic-linux.sh
    M .ci/monolithic-windows.sh

  Log Message:
  -----------
  [CI] Do not fail with no JUnit XML

Currently we will fail if there are no JUnit XML files produced from
llvm-lit invocations. This can happen if the build fails and no test
suites end up getting run or if we test a project that does not use
llvm-lit, libe libc.

This fixes #142038.


  Commit: e60b6330ac413682b3824603cb274528a67d58c9
      https://github.com/llvm/llvm-project/commit/e60b6330ac413682b3824603cb274528a67d58c9
  Author: Cassandra Beckley <beckl.ds at gmail.com>
  Date:   2025-05-29 (Thu, 29 May 2025)

  Changed paths:
    M llvm/lib/Target/SPIRV/SPIRVEmitIntrinsics.cpp
    A llvm/test/CodeGen/SPIRV/inline/type.undef.ll

  Log Message:
  -----------
  [SPIR-V] Consistent handling of TargetExtTypes in emit-intrinsics (#135682)

TargetExtType values are replaced with calls to
`llvm.spv.track.constant`, with a `poison` value, but
`llvm.spv.assign.type` was called with their original value. This PR
updates the `assign.type` call to be consistent with the
`track.constant` call.

Fixes #134417.

---------

Co-authored-by: Steven Perron <stevenperron at google.com>


  Commit: 2b5b8db9dcf1b0b1bf2cbb24c3662d94b94a8aae
      https://github.com/llvm/llvm-project/commit/2b5b8db9dcf1b0b1bf2cbb24c3662d94b94a8aae
  Author: Finn Plummer <finn.c.plum at gmail.com>
  Date:   2025-05-29 (Thu, 29 May 2025)

  Changed paths:
    M clang/include/clang/Lex/HLSLRootSignatureTokenKinds.def
    M clang/include/clang/Parse/ParseHLSLRootSignature.h
    M clang/lib/Parse/ParseHLSLRootSignature.cpp
    M clang/unittests/Lex/LexHLSLRootSignatureTest.cpp
    M clang/unittests/Parse/ParseHLSLRootSignatureTest.cpp
    M llvm/include/llvm/Frontend/HLSL/HLSLRootSignature.h

  Log Message:
  -----------
  [HLSL][RootSignature] Add parsing of address params in StaticSampler (#140293)

- defines in-memory reprsentation of `address[U|V|W]`
 - defines parsing of the `TextureAddressMode` enum
- integrates parsing of these number parameters with their respective,
`parseTextureAddressMode`
 - adds basic unit tests to demonstrate setting functionality

Part 4 of https://github.com/llvm/llvm-project/issues/126574


  Commit: 8a44cd74bdf8a650d85e144a640c595e1945e906
      https://github.com/llvm/llvm-project/commit/8a44cd74bdf8a650d85e144a640c595e1945e906
  Author: Ebuka Ezike <yerimyah1 at gmail.com>
  Date:   2025-05-29 (Thu, 29 May 2025)

  Changed paths:
    M lldb/test/API/tools/lldb-dap/optimized/TestDAP_optimized.py

  Log Message:
  -----------
  [NFC][lldb-dap][test] show the expected value in the error message. (#142030)

Show the expected value in the error message so we can see the expected
value without searching through the log messages.

Related #141689


  Commit: 494c82e709fa89110a3178bff1330a38f13f87be
      https://github.com/llvm/llvm-project/commit/494c82e709fa89110a3178bff1330a38f13f87be
  Author: S. VenkataKeerthy <31350914+svkeerthy at users.noreply.github.com>
  Date:   2025-05-29 (Thu, 29 May 2025)

  Changed paths:
    M llvm/include/llvm/Analysis/IR2Vec.h
    M llvm/lib/Analysis/IR2Vec.cpp
    M llvm/unittests/Analysis/IR2VecTest.cpp

  Log Message:
  -----------
  [IR2Vec] Support for lazy computation of BB Embeddings (#142033)

This PR exposes interfaces to compute embeddings at BB level. This would be necessary for delta patching the embeddings in MLInliner (#141836).

(Tracking issue - #141817)


  Commit: dfc2c15f1c011bec8d79ef1738001e9e7ae9283e
      https://github.com/llvm/llvm-project/commit/dfc2c15f1c011bec8d79ef1738001e9e7ae9283e
  Author: Finn Plummer <finn.c.plum at gmail.com>
  Date:   2025-05-29 (Thu, 29 May 2025)

  Changed paths:
    M clang/include/clang/Lex/HLSLRootSignatureTokenKinds.def
    M clang/include/clang/Parse/ParseHLSLRootSignature.h
    M clang/lib/Parse/ParseHLSLRootSignature.cpp
    M clang/unittests/Lex/LexHLSLRootSignatureTest.cpp
    M clang/unittests/Parse/ParseHLSLRootSignatureTest.cpp
    M llvm/include/llvm/Frontend/HLSL/HLSLRootSignature.h

  Log Message:
  -----------
  [HLSL][RootSignature] Add parsing of filter enum for StaticSampler (#140294)

- defines in-memory reprsentation of `filter`
- defines parsing of the `Filter` enum
- integrates parsing of these number parameters with their respective,
`parseFilter`
 - adds basic unit tests to demonstrate setting functionality

Part 5 of https://github.com/llvm/llvm-project/issues/126574


  Commit: 29d49de58a17309bc1a8f64d7962cf265e785702
      https://github.com/llvm/llvm-project/commit/29d49de58a17309bc1a8f64d7962cf265e785702
  Author: Finn Plummer <finn.c.plum at gmail.com>
  Date:   2025-05-29 (Thu, 29 May 2025)

  Changed paths:
    M clang/include/clang/Lex/HLSLRootSignatureTokenKinds.def
    M clang/include/clang/Parse/ParseHLSLRootSignature.h
    M clang/lib/Parse/ParseHLSLRootSignature.cpp
    M clang/unittests/Lex/LexHLSLRootSignatureTest.cpp
    M clang/unittests/Parse/ParseHLSLRootSignatureTest.cpp
    M llvm/include/llvm/Frontend/HLSL/HLSLRootSignature.h

  Log Message:
  -----------
  Revert "[HLSL][RootSignature] Add parsing of filter enum for StaticSampler" (#142053)

The current naming of the `enum class Filter` and the Filter struct
member causes ambiguity.

This change will be reverted to be addressed by renaming the variable.

Reverts llvm/llvm-project#140294


  Commit: 8229f72b7b357ab9cd2b0a7a47356b16a47269ce
      https://github.com/llvm/llvm-project/commit/8229f72b7b357ab9cd2b0a7a47356b16a47269ce
  Author: google-yfyang <yfyang at google.com>
  Date:   2025-05-29 (Thu, 29 May 2025)

  Changed paths:
    M clang/lib/AST/ByteCode/InterpBuiltin.cpp

  Log Message:
  -----------
  Add "maybe_unused" to variable only used in assert (#142049)


  Commit: 882e7331c4ba5582d3881b7bb93c0952e601336b
      https://github.com/llvm/llvm-project/commit/882e7331c4ba5582d3881b7bb93c0952e601336b
  Author: Kazu Hirata <kazu at google.com>
  Date:   2025-05-29 (Thu, 29 May 2025)

  Changed paths:
    M clang/lib/AST/ByteCode/InterpBuiltin.cpp

  Log Message:
  -----------
  [AST] Fix a warning

This patch fixes:

  clang/lib/AST/ByteCode/InterpBuiltin.cpp:767:12: error: unused
  variable 'PtrT' [-Werror,-Wunused-variable]


  Commit: fe40f97afe9f62456f42cb88e683e653513cf519
      https://github.com/llvm/llvm-project/commit/fe40f97afe9f62456f42cb88e683e653513cf519
  Author: Lang Hames <lhames at gmail.com>
  Date:   2025-05-30 (Fri, 30 May 2025)

  Changed paths:
    M llvm/test/ExecutionEngine/JITLink/Generic/all-load-multifile-archive-with-duplicate-member-filenames.test
    M llvm/test/ExecutionEngine/JITLink/Generic/all-load-multifile-archive.test

  Log Message:
  -----------
  [JITLink] Disable the all-load- tests on Windows/arm64.

We don't have a JITLink Windows/arm64 backend yet, so disable these tests
there.


  Commit: f9073e7e62ff30def5f0d6bea6b2fb1d7ca35853
      https://github.com/llvm/llvm-project/commit/f9073e7e62ff30def5f0d6bea6b2fb1d7ca35853
  Author: Qinkun Bao <qinkun at google.com>
  Date:   2025-05-29 (Thu, 29 May 2025)

  Changed paths:
    M clang/lib/AST/ASTContext.cpp
    M clang/lib/Basic/NoSanitizeList.cpp
    M clang/test/CodeGen/ubsan-type-ignorelist-category-2.test

  Log Message:
  -----------
  [UBSan] Move type:*=sanitize handling. (#142006)

As discussed in https://github.com/llvm/llvm-project/issues/139128, this
PR moves =sanitize handling from `ASTContext::isTypeIgnoredBySanitizer`
to `NoSanitizeList::containsType`.

Before this PR: "=sanitize" has priority regardless of the order
After this PR: If multiple entries match the source, than the latest
entry takes the precedence.


  Commit: 30a74a58d19c26fcc5ba39c03b94771877e2e7d2
      https://github.com/llvm/llvm-project/commit/30a74a58d19c26fcc5ba39c03b94771877e2e7d2
  Author: Qinkun Bao <qinkun at google.com>
  Date:   2025-05-29 (Thu, 29 May 2025)

  Changed paths:
    M .ci/monolithic-linux.sh
    M .ci/monolithic-windows.sh
    M clang-tools-extra/clang-doc/Serialize.cpp
    M clang/include/clang/Basic/DiagnosticParseKinds.td
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/include/clang/Lex/HLSLRootSignatureTokenKinds.def
    M clang/include/clang/Parse/ParseHLSLRootSignature.h
    M clang/include/clang/Tooling/DependencyScanning/ModuleDepCollector.h
    M clang/lib/AST/ByteCode/InterpBuiltin.cpp
    M clang/lib/Basic/NoSanitizeList.cpp
    M clang/lib/Basic/Targets/LoongArch.cpp
    M clang/lib/Basic/Targets/LoongArch.h
    M clang/lib/CodeGen/CGExpr.cpp
    M clang/lib/Frontend/VerifyDiagnosticConsumer.cpp
    M clang/lib/Parse/ParseHLSLRootSignature.cpp
    M clang/lib/Parse/ParseOpenACC.cpp
    M clang/lib/Sema/SemaDeclAttr.cpp
    M clang/lib/Tooling/DependencyScanning/ModuleDepCollector.cpp
    M clang/test/AST/HLSL/ByteAddressBuffers-AST.hlsl
    M clang/test/AST/HLSL/OutArgExpr.hlsl
    M clang/test/AST/HLSL/StructuredBuffers-AST.hlsl
    M clang/test/AST/HLSL/TypedBuffers-AST.hlsl
    M clang/test/AST/HLSL/ast-dump-comment-cbuffer.hlsl
    M clang/test/AST/HLSL/cbuffer.hlsl
    M clang/test/AST/HLSL/cbuffer_and_namespaces.hlsl
    M clang/test/AST/HLSL/default_cbuffer.hlsl
    M clang/test/AST/HLSL/is_structured_resource_element_compatible_concept.hlsl
    M clang/test/AST/HLSL/is_typed_resource_element_compatible_concept.hlsl
    M clang/test/AST/HLSL/packoffset.hlsl
    M clang/test/AST/HLSL/pch.hlsl
    M clang/test/AST/HLSL/pch_hlsl_buffer.hlsl
    M clang/test/AST/HLSL/pch_with_buf.hlsl
    M clang/test/AST/HLSL/private.hlsl
    M clang/test/AST/HLSL/resource_binding_attr.hlsl
    R clang/test/ClangScanDeps/export.c
    M clang/test/ClangScanDeps/optimize-vfs-pch.m
    R clang/test/CodeGen/LoongArch/targetattr.c
    M clang/test/CodeGenHLSL/GlobalConstructorLib.hlsl
    M clang/test/CodeGenHLSL/GlobalConstructors.hlsl
    M clang/test/CodeGenHLSL/builtins/AppendStructuredBuffer-elementtype.hlsl
    M clang/test/CodeGenHLSL/builtins/ByteAddressBuffers-constructors.hlsl
    M clang/test/CodeGenHLSL/builtins/ConsumeStructuredBuffer-elementtype.hlsl
    M clang/test/CodeGenHLSL/builtins/RWBuffer-constructor.hlsl
    M clang/test/CodeGenHLSL/builtins/RWBuffer-elementtype.hlsl
    M clang/test/CodeGenHLSL/builtins/RWBuffer-subscript.hlsl
    M clang/test/CodeGenHLSL/builtins/RWStructuredBuffer-elementtype.hlsl
    M clang/test/CodeGenHLSL/builtins/RasterizerOrderedStructuredBuffer-elementtype.hlsl
    M clang/test/CodeGenHLSL/builtins/StructuredBuffer-elementtype.hlsl
    M clang/test/CodeGenHLSL/builtins/StructuredBuffers-constructors.hlsl
    M clang/test/CodeGenHLSL/builtins/StructuredBuffers-methods-ps.hlsl
    M clang/test/CodeGenHLSL/builtins/StructuredBuffers-subscripts.hlsl
    M clang/test/CodeGenHLSL/cbuffer.hlsl
    M clang/test/CodeGenHLSL/cbuffer_align.hlsl
    M clang/test/CodeGenHLSL/cbuffer_and_namespaces.hlsl
    M clang/test/CodeGenHLSL/cbuffer_with_static_global_and_function.hlsl
    M clang/test/CodeGenHLSL/convergence/global_array.hlsl
    M clang/test/CodeGenHLSL/default_cbuffer.hlsl
    M clang/test/CodeGenHLSL/default_cbuffer_with_layout.hlsl
    M clang/test/CodeGenHLSL/implicit-norecurse-attrib.hlsl
    M clang/test/CodeGenHLSL/inline-functions.hlsl
    M clang/test/CodeGenHLSL/static-local-ctor.hlsl
    A clang/test/Frontend/verify-gh141221.c
    M clang/test/ParserHLSL/cb_error.hlsl
    M clang/test/ParserHLSL/hlsl_resource_class_attr.hlsl
    M clang/test/ParserHLSL/hlsl_resource_handle_attrs.hlsl
    M clang/test/ParserHLSL/invalid_inside_cb.hlsl
    A clang/test/ParserOpenACC/extensions.c
    R clang/test/Sema/attr-target-loongarch.c
    M clang/test/SemaHLSL/BuiltIns/RWBuffers.hlsl
    M clang/test/SemaHLSL/BuiltIns/StructuredBuffers.hlsl
    M clang/test/SemaHLSL/BuiltIns/hlsl_resource_t.hlsl
    M clang/test/SemaHLSL/Language/AggregateSplatCast-errors.hlsl
    M clang/test/SemaHLSL/cb_error.hlsl
    M clang/test/SemaHLSL/export.hlsl
    M clang/test/SemaHLSL/packoffset-invalid.hlsl
    M clang/test/SemaHLSL/resource_binding_attr_error.hlsl
    M clang/test/SemaHLSL/resource_binding_attr_error_basic.hlsl
    M clang/test/SemaHLSL/resource_binding_attr_error_resource.hlsl
    M clang/test/SemaHLSL/resource_binding_attr_error_silence_diags.hlsl
    M clang/test/SemaHLSL/resource_binding_attr_error_space.hlsl
    M clang/test/SemaHLSL/resource_binding_attr_error_udt.hlsl
    M clang/test/SemaHLSL/resource_binding_implicit.hlsl
    M clang/tools/clang-scan-deps/ClangScanDeps.cpp
    M clang/unittests/Lex/LexHLSLRootSignatureTest.cpp
    M clang/unittests/Parse/ParseHLSLRootSignatureTest.cpp
    M flang/include/flang/Optimizer/Transforms/Passes.td
    M flang/lib/Lower/OpenMP/ClauseProcessor.cpp
    M flang/lib/Optimizer/Passes/Pipelines.cpp
    M flang/lib/Optimizer/Transforms/FunctionAttr.cpp
    M flang/lib/Semantics/check-omp-structure.cpp
    M flang/lib/Semantics/check-omp-structure.h
    M flang/test/Fir/array-coor.fir
    M flang/test/Fir/arrayset.fir
    M flang/test/Fir/arrexp.fir
    M flang/test/Fir/box-offset-codegen.fir
    M flang/test/Fir/box-typecode.fir
    M flang/test/Fir/box.fir
    M flang/test/Fir/boxproc.fir
    M flang/test/Fir/commute.fir
    M flang/test/Fir/coordinateof.fir
    M flang/test/Fir/embox.fir
    M flang/test/Fir/field-index.fir
    M flang/test/Fir/ignore-missing-type-descriptor.fir
    M flang/test/Fir/polymorphic.fir
    M flang/test/Fir/rebox.fir
    M flang/test/Fir/struct-passing-x86-64-byval.fir
    M flang/test/Fir/target-rewrite-complex-10-x86.fir
    M flang/test/Fir/target.fir
    M flang/test/Fir/tbaa-codegen.fir
    M flang/test/Fir/tbaa-codegen2.fir
    M flang/test/Integration/OpenMP/copyprivate.f90
    M flang/test/Integration/debug-local-var-2.f90
    M flang/test/Integration/unroll-loops.f90
    M flang/test/Lower/HLFIR/unroll-loops.fir
    A flang/test/Lower/OpenMP/copyprivate4.f90
    M flang/test/Lower/forall/character-1.f90
    M flang/test/Semantics/OpenMP/copyprivate04.f90
    A flang/test/Semantics/OpenMP/copyprivate05.f90
    M flang/test/Transforms/constant-argument-globalisation.fir
    A flang/test/Transforms/function-attrs-noalias.fir
    M flang/test/Transforms/function-attrs.fir
    M libc/config/linux/x86_64/entrypoints.txt
    M libc/include/wchar.yaml
    M libc/src/wchar/CMakeLists.txt
    A libc/src/wchar/wmemcmp.cpp
    A libc/src/wchar/wmemcmp.h
    M libc/test/src/wchar/CMakeLists.txt
    A libc/test/src/wchar/wmemcmp_test.cpp
    M lldb/source/Plugins/Platform/Linux/PlatformLinux.cpp
    M lldb/test/API/tools/lldb-dap/optimized/TestDAP_optimized.py
    M lldb/test/API/tools/lldb-dap/threads/Makefile
    M lldb/test/API/tools/lldb-dap/threads/TestDAP_threads.py
    R lldb/test/API/tools/lldb-dap/threads/main.c
    A lldb/test/API/tools/lldb-dap/threads/main.cpp
    M lldb/tools/lldb-dap/JSONUtils.cpp
    M lldb/tools/lldb-dap/src-ts/debug-configuration-provider.ts
    M llvm/docs/ResponseGuide.rst
    M llvm/include/llvm/Analysis/DXILResource.h
    M llvm/include/llvm/Analysis/IR2Vec.h
    M llvm/include/llvm/BinaryFormat/DXContainer.h
    M llvm/include/llvm/BinaryFormat/DXContainerConstants.def
    M llvm/include/llvm/CodeGen/TargetLowering.h
    M llvm/include/llvm/Frontend/HLSL/HLSLRootSignature.h
    M llvm/include/llvm/MC/DXContainerRootSignature.h
    M llvm/include/llvm/Object/DXContainer.h
    M llvm/include/llvm/ObjectYAML/DXContainerYAML.h
    M llvm/include/llvm/ProfileData/IndexedMemProfData.h
    A llvm/include/llvm/ProfileData/MemProfCommon.h
    M llvm/include/llvm/ProfileData/MemProfSummary.h
    M llvm/include/llvm/ProfileData/MemProfSummaryBuilder.h
    M llvm/include/llvm/TargetParser/LoongArchTargetParser.h
    M llvm/lib/Analysis/DXILResource.cpp
    M llvm/lib/Analysis/IR2Vec.cpp
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    M llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
    M llvm/lib/DebugInfo/DWARF/DWARFUnit.cpp
    M llvm/lib/Frontend/HLSL/HLSLRootSignature.cpp
    M llvm/lib/MC/DXContainerRootSignature.cpp
    M llvm/lib/Object/DXContainer.cpp
    M llvm/lib/Object/RelocationResolver.cpp
    M llvm/lib/ObjectYAML/DXContainerEmitter.cpp
    M llvm/lib/ObjectYAML/DXContainerYAML.cpp
    M llvm/lib/ProfileData/CMakeLists.txt
    M llvm/lib/ProfileData/IndexedMemProfData.cpp
    M llvm/lib/ProfileData/InstrProfWriter.cpp
    A llvm/lib/ProfileData/MemProfCommon.cpp
    M llvm/lib/ProfileData/MemProfSummary.cpp
    M llvm/lib/ProfileData/MemProfSummaryBuilder.cpp
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUCodeGenPrepare.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
    M llvm/lib/Target/DirectX/DXILTranslateMetadata.cpp
    M llvm/lib/Target/NVPTX/NVPTXForwardParams.cpp
    M llvm/lib/Target/NVPTX/NVPTXISelDAGToDAG.cpp
    M llvm/lib/Target/NVPTX/NVPTXInstrInfo.td
    M llvm/lib/Target/NVPTX/NVPTXIntrinsics.td
    M llvm/lib/Target/NVPTX/NVPTXProxyRegErasure.cpp
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/lib/Target/SPIRV/SPIRVEmitIntrinsics.cpp
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/lib/TargetParser/LoongArchTargetParser.cpp
    M llvm/lib/Transforms/IPO/EmbedBitcodePass.cpp
    M llvm/lib/Transforms/Instrumentation/MemProfiler.cpp
    M llvm/test/Analysis/DXILResource/buffer-frombinding.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/divergent-control-flow.ll
    M llvm/test/CodeGen/AMDGPU/branch-folding-implicit-def-subreg.ll
    M llvm/test/CodeGen/AMDGPU/fract-match.ll
    M llvm/test/CodeGen/AMDGPU/gep-const-address-space.ll
    M llvm/test/CodeGen/AMDGPU/global-atomicrmw-fadd.ll
    M llvm/test/CodeGen/AMDGPU/infer-addrspace-flat-atomic.ll
    M llvm/test/CodeGen/AMDGPU/llc-pipeline.ll
    M llvm/test/CodeGen/AMDGPU/simple-indirect-call.ll
    M llvm/test/CodeGen/AMDGPU/swdev282079.ll
    M llvm/test/CodeGen/AMDGPU/uniform_branch_with_floating_point_cond.ll
    M llvm/test/CodeGen/DirectX/Metadata/cbuffer-only.ll
    M llvm/test/CodeGen/DirectX/Metadata/cbuffer_metadata.ll
    M llvm/test/CodeGen/DirectX/Metadata/resource-symbols.ll
    M llvm/test/CodeGen/DirectX/Metadata/srv_metadata.ll
    M llvm/test/CodeGen/DirectX/Metadata/uav_metadata.ll
    M llvm/test/CodeGen/MIR/NVPTX/expected-floating-point-literal.mir
    M llvm/test/CodeGen/MIR/NVPTX/floating-point-immediate-operands.mir
    M llvm/test/CodeGen/MIR/NVPTX/floating-point-invalid-type-error.mir
    M llvm/test/CodeGen/NVPTX/bf16-instructions.ll
    M llvm/test/CodeGen/NVPTX/bf16x2-instructions.ll
    M llvm/test/CodeGen/NVPTX/f16-instructions.ll
    M llvm/test/CodeGen/NVPTX/f16x2-instructions.ll
    M llvm/test/CodeGen/NVPTX/fexp2.ll
    M llvm/test/CodeGen/NVPTX/flog2.ll
    M llvm/test/CodeGen/NVPTX/fma-relu-contract.ll
    M llvm/test/CodeGen/NVPTX/fma-relu-fma-intrinsic.ll
    M llvm/test/CodeGen/NVPTX/fma-relu-instruction-flag.ll
    M llvm/test/CodeGen/NVPTX/i8x4-instructions.ll
    M llvm/test/CodeGen/NVPTX/inline-asm.ll
    M llvm/test/CodeGen/NVPTX/math-intrins.ll
    M llvm/test/CodeGen/NVPTX/param-add.ll
    M llvm/test/CodeGen/NVPTX/proxy-reg-erasure.mir
    M llvm/test/CodeGen/RISCV/bswap-bitreverse.ll
    M llvm/test/CodeGen/RISCV/rv32zbb-intrinsic.ll
    M llvm/test/CodeGen/RISCV/rv64zbb-intrinsic.ll
    A llvm/test/CodeGen/SPIRV/inline/type.undef.ll
    M llvm/test/ExecutionEngine/JITLink/Generic/all-load-multifile-archive-with-duplicate-member-filenames.test
    M llvm/test/ExecutionEngine/JITLink/Generic/all-load-multifile-archive.test
    A llvm/test/ObjectYAML/DXContainer/RootSignature-DescriptorTable1.0.yaml
    A llvm/test/ObjectYAML/DXContainer/RootSignature-DescriptorTable1.1.yaml
    M llvm/test/ObjectYAML/DXContainer/RootSignature-MultipleParameters.yaml
    A llvm/test/ObjectYAML/DXContainer/RootSignature-StaticSamplers-Defaults.yaml
    A llvm/test/ObjectYAML/DXContainer/RootSignature-StaticSamplers.yaml
    A llvm/test/Transforms/EmbedBitcode/embed-wpd.ll
    A llvm/test/Transforms/InferAddressSpaces/AMDGPU/global-atomicrmw-fadd.ll
    A llvm/test/Transforms/PhaseOrdering/AMDGPU/infer-address-space.ll
    A llvm/test/Transforms/PhaseOrdering/AMDGPU/lit.local.cfg
    A llvm/test/tools/llvm-dwarfdump/X86/debug_info_crel.yaml
    M llvm/unittests/Analysis/CMakeLists.txt
    M llvm/unittests/Analysis/DXILResourceTest.cpp
    A llvm/unittests/Analysis/IR2VecTest.cpp
    M llvm/unittests/Frontend/HLSLRootSignatureDumpTest.cpp
    M llvm/unittests/Object/DXContainerTest.cpp
    M llvm/unittests/ObjectYAML/DXContainerYAMLTest.cpp
    M llvm/unittests/ProfileData/MemProfTest.cpp

  Log Message:
  -----------
  Merge branch 'main' into users/qinkunbao/spr/nosanitizelistnfi-add-containsprefix-to-remove-duplicated-logics


Compare: https://github.com/llvm/llvm-project/compare/b4871ccd92c7...30a74a58d19c

To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list