[all-commits] [llvm/llvm-project] ba4559: [AMDGPU] Try to fix -mattr=dumpcode on big-endian ...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Thu Feb 13 10:03:48 PST 2025


  Branch: refs/heads/users/alexey-bataev/spr/slprepresent-slp-graph-as-a-tree
  Home:   https://github.com/llvm/llvm-project
  Commit: ba45592377703f99e1955a51f19922522446caec
      https://github.com/llvm/llvm-project/commit/ba45592377703f99e1955a51f19922522446caec
  Author: Jay Foad <jay.foad at amd.com>
  Date:   2025-02-13 (Thu, 13 Feb 2025)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUMCInstLower.cpp

  Log Message:
  -----------
  [AMDGPU] Try to fix -mattr=dumpcode on big-endian hosts (#127073)

Blind fix for #116982 failing on big-endian buildbots.


  Commit: 2f8de7b466efc613111904ee36d13ec95976739a
      https://github.com/llvm/llvm-project/commit/2f8de7b466efc613111904ee36d13ec95976739a
  Author: Vyacheslav Levytskyy <vyacheslav.levytskyy at intel.com>
  Date:   2025-02-13 (Thu, 13 Feb 2025)

  Changed paths:
    M llvm/lib/Target/SPIRV/SPIRVEmitIntrinsics.cpp
    M llvm/lib/Target/SPIRV/SPIRVUtils.h
    A llvm/test/CodeGen/SPIRV/validate/triton-tut-softmax-kernel.ll

  Log Message:
  -----------
  [SPIR-V] Type inference must realize that a <1 x Type> vector type is not a legal vector type in LLT (#124560)

In this PR we account for possible <1 x LLVM Type> input to ensure that
we produce legal vector types during type inference.

We modify an LLVM type to conform with future transformations in
IRTranslator, if it's a <1 x Type> vector type, replacing it by the
element type, because <1 x Type> vector type is not a legal vector type
in LLT and IRTranslator will represent it as the scalar eventually.


  Commit: 1138a4964adf76cc4af82b3f43dbc8db0b91cd46
      https://github.com/llvm/llvm-project/commit/1138a4964adf76cc4af82b3f43dbc8db0b91cd46
  Author: Georgiy Samoylov <g.samoylov at syntacore.com>
  Date:   2025-02-13 (Thu, 13 Feb 2025)

  Changed paths:
    M lldb/test/API/tools/lldb-server/main.cpp

  Log Message:
  -----------
  [lldb] Fix build problem in llgs tests for RISC-V (#127091)

During testing of LLDB on RISC-V target, tests from the llgs category
were built with an error: `Error when building test subject.`

```
llvm-project/lldb/test/API/tools/lldb-server/main.cpp:151:40: error: missing ')' after '__builtin_debugtrap'
  151 | #elif __has_builtin(__builtin_debugtrap())
      |                     ~~~~~~~~~~~~~~~~~~~^
llvm-project/lldb/test/API/tools/lldb-server/main.cpp:151:20: note: to match this '('
  151 | #elif __has_builtin(__builtin_debugtrap())
      |                    ^
```

This patch fixes this error.


  Commit: a663e78a6eb6bbd20c0c74b3e6a78e24ee423544
      https://github.com/llvm/llvm-project/commit/a663e78a6eb6bbd20c0c74b3e6a78e24ee423544
  Author: Piotr Zegar <me at piotrzegar.pl>
  Date:   2025-02-13 (Thu, 13 Feb 2025)

  Changed paths:
    M clang-tools-extra/clang-tidy/utils/ExceptionSpecAnalyzer.cpp
    M clang-tools-extra/test/clang-tidy/checkers/performance/noexcept-move-constructor.cpp

  Log Message:
  -----------
  [clang-tidy] Add recursion protection in ExceptionSpecAnalyzer (#66810)

Normally endless recursion should not happen in ExceptionSpecAnalyzer,
but if AST would be malformed (missing include), this could cause crash.

I run into this issue when due to missing include constructor argument
were parsed as FieldDecl.
As checking for recursion cost nothing, why not to do this in check just
in case.

Fixes #111436


  Commit: 55f3df875d3a266c566f593357e2290879f49321
      https://github.com/llvm/llvm-project/commit/55f3df875d3a266c566f593357e2290879f49321
  Author: Abhilash Majumder <30946547+abhilash1910 at users.noreply.github.com>
  Date:   2025-02-13 (Thu, 13 Feb 2025)

  Changed paths:
    M llvm/docs/NVPTXUsage.rst
    M llvm/include/llvm/IR/IntrinsicsNVVM.td
    M llvm/lib/Target/NVPTX/NVPTXIntrinsics.td
    M llvm/test/CodeGen/NVPTX/prefetch.ll

  Log Message:
  -----------
  [NVPTX] Fix and refine prefetch.* intrinsics (#126899)

This is follow-up PR from #125887  which fixes the intrinsic failures .

---------

Co-authored-by: abmajumder <abmajumder at nvidia.com>


  Commit: 79fff6aa324c560f4a32d5d2b0276744a2c49668
      https://github.com/llvm/llvm-project/commit/79fff6aa324c560f4a32d5d2b0276744a2c49668
  Author: Ellis Hoag <ellis.sparky.hoag at gmail.com>
  Date:   2025-02-13 (Thu, 13 Feb 2025)

  Changed paths:
    M lld/ELF/BPSectionOrderer.cpp
    M lld/MachO/BPSectionOrderer.cpp
    M lld/test/ELF/bp-section-orderer.s
    M lld/test/MachO/bp-section-orderer.s

  Log Message:
  -----------
  [lld][BP] Avoid ordering ICF'ed sections (#126327)

ICF runs before BPSectionOrderer. When a section is ICF'ed, it seems
that the original sections are marked as not live, but are still kept
around. Prior to this patch, those ICF'ed sections would be passed to BP
and ordered before being skipped when writing the output. Now, these
sections are no longer passed to BP, saving runtime and possibly
improving BP's output.

In a large binary, I found that the number of sections ordered using BP
decreased, while the number of duplicate sections drastically decreased
as expected.
```
Functions for startup: 50755 -> 50520
Functions for compression: 165734 -> 105328
Duplicate functions: 1827231 -> 55230
```


  Commit: e750c7e636f083c48a6cea7fae37ffc3734c7da0
      https://github.com/llvm/llvm-project/commit/e750c7e636f083c48a6cea7fae37ffc3734c7da0
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2025-02-13 (Thu, 13 Feb 2025)

  Changed paths:
    M llvm/lib/Target/RISCV/MCTargetDesc/RISCVMCTargetDesc.cpp

  Log Message:
  -----------
  [RISCV] Set Feature32Bit/Feature64Bit based on triple for -mcpu=help. (#127031)

llvm-mc keeps going after printing help text and creates an assembler.
If we don't set one of the XLen sized feature bits we trip a fatal error
in RISCVFeatures::validate.

llvm-mc should probably be fixed, but I don't know if its the only tool
with this issue.


  Commit: f30c891464debb4e0d47d27ea77dc2220d7cdf29
      https://github.com/llvm/llvm-project/commit/f30c891464debb4e0d47d27ea77dc2220d7cdf29
  Author: Ilia Kuklin <ikuklin at accesssoftek.com>
  Date:   2025-02-13 (Thu, 13 Feb 2025)

  Changed paths:
    M lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
    A lldb/test/API/lang/cpp/enum_promotion/Makefile
    A lldb/test/API/lang/cpp/enum_promotion/TestCPPEnumPromotion.py
    A lldb/test/API/lang/cpp/enum_promotion/main.cpp

  Log Message:
  -----------
  [lldb] Analyze enum promotion type during parsing (#115005)

The information about an enum's best promotion type is discarded after
compilation and is not present in debug info. This patch repeats the
same analysis of each enum value as in the front-end to determine the
best promotion type during DWARF info parsing.

Fixes #86989


  Commit: d096f45322660d59de5267555f121986629bab30
      https://github.com/llvm/llvm-project/commit/d096f45322660d59de5267555f121986629bab30
  Author: Kazu Hirata <kazu at google.com>
  Date:   2025-02-13 (Thu, 13 Feb 2025)

  Changed paths:
    M clang/tools/clang-scan-deps/ClangScanDeps.cpp

  Log Message:
  -----------
  [clang-scan-deps] Avoid repeated map lookups (NFC) (#127023)


  Commit: 44b61e056ddb237b7a40d46916abd5d7d6957a3c
      https://github.com/llvm/llvm-project/commit/44b61e056ddb237b7a40d46916abd5d7d6957a3c
  Author: Kazu Hirata <kazu at google.com>
  Date:   2025-02-13 (Thu, 13 Feb 2025)

  Changed paths:
    M llvm/lib/Analysis/PhiValues.cpp

  Log Message:
  -----------
  [Analysis] Avoid repeated hash lookups (NFC) (#127024)


  Commit: e7bf6a4e042fba2b1492be8fc5f430df3e9a43d2
      https://github.com/llvm/llvm-project/commit/e7bf6a4e042fba2b1492be8fc5f430df3e9a43d2
  Author: Kazu Hirata <kazu at google.com>
  Date:   2025-02-13 (Thu, 13 Feb 2025)

  Changed paths:
    M llvm/lib/CodeGen/LiveStacks.cpp

  Log Message:
  -----------
  [CodeGen] Avoid repeated map lookups (NFC) (#127025)


  Commit: fec04f286ef5914f81a5bc188eb2f60cfdbacce8
      https://github.com/llvm/llvm-project/commit/fec04f286ef5914f81a5bc188eb2f60cfdbacce8
  Author: Kazu Hirata <kazu at google.com>
  Date:   2025-02-13 (Thu, 13 Feb 2025)

  Changed paths:
    M llvm/lib/FileCheck/FileCheck.cpp

  Log Message:
  -----------
  [FileCheck] Avoid repeated hash lookups (NFC) (#127026)


  Commit: 9a59145d8e3782196378102c42f70f575bc2f99a
      https://github.com/llvm/llvm-project/commit/9a59145d8e3782196378102c42f70f575bc2f99a
  Author: Kazu Hirata <kazu at google.com>
  Date:   2025-02-13 (Thu, 13 Feb 2025)

  Changed paths:
    M llvm/lib/Analysis/MemoryProfileInfo.cpp

  Log Message:
  -----------
  [memprof] Avoid repeated map lookups (NFC) (#127027)


  Commit: 4bda95304ff892d31c3ff7a89f75df25c0fa3bb9
      https://github.com/llvm/llvm-project/commit/4bda95304ff892d31c3ff7a89f75df25c0fa3bb9
  Author: Kazu Hirata <kazu at google.com>
  Date:   2025-02-13 (Thu, 13 Feb 2025)

  Changed paths:
    M llvm/tools/llvm-profgen/MissingFrameInferrer.cpp

  Log Message:
  -----------
  [llvm-profgen] Avoid repeated hash lookups (NFC) (#127028)


  Commit: 4a97ce5f7560bf8be6d0291ae9ea054248fbcf24
      https://github.com/llvm/llvm-project/commit/4a97ce5f7560bf8be6d0291ae9ea054248fbcf24
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2025-02-13 (Thu, 13 Feb 2025)

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

  Log Message:
  -----------
  [X86] X86FixupVectorConstantsPass - pull out getPrimitiveSizeInBits call. NFC.


  Commit: 07405ca03600fd27fa27fb63f09cd0807f92e31a
      https://github.com/llvm/llvm-project/commit/07405ca03600fd27fa27fb63f09cd0807f92e31a
  Author: Stanislav Mekhanoshin <rampitec at users.noreply.github.com>
  Date:   2025-02-13 (Thu, 13 Feb 2025)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIProgramInfo.h

  Log Message:
  -----------
  [AMDGPU] clang-format SIProgramInfo.h. NFC. (#127033)


  Commit: 9a63a2c4babcaabaeb1a106345f3b037485efa4c
      https://github.com/llvm/llvm-project/commit/9a63a2c4babcaabaeb1a106345f3b037485efa4c
  Author: Martin Erhart <martin.erhart at sifive.com>
  Date:   2025-02-13 (Thu, 13 Feb 2025)

  Changed paths:
    A mlir/include/mlir-c/Dialect/Index.h
    M mlir/lib/CAPI/Dialect/CMakeLists.txt
    A mlir/lib/CAPI/Dialect/Index.cpp

  Log Message:
  -----------
  [mlir][index] Add CAPI (#127039)


  Commit: 660cdace559a8dbe44ebf2222b854bf3f39a5f62
      https://github.com/llvm/llvm-project/commit/660cdace559a8dbe44ebf2222b854bf3f39a5f62
  Author: Slava Zakharin <szakharin at nvidia.com>
  Date:   2025-02-13 (Thu, 13 Feb 2025)

  Changed paths:
    M flang/runtime/pointer.cpp
    M flang/unittests/Runtime/Pointer.cpp

  Log Message:
  -----------
  [flang] Fixed write past allocated descriptor in PointerAssociateRemapping. (#127000)

The pointer descriptor might be smaller than the target descriptor,
so `operator=` would write beyound the pointer descriptor.


  Commit: eb8ffd617a06d16d5e0928dd346b9ed2380c8fec
      https://github.com/llvm/llvm-project/commit/eb8ffd617a06d16d5e0928dd346b9ed2380c8fec
  Author: Joel E. Denny <jdenny.ornl at gmail.com>
  Date:   2025-02-13 (Thu, 13 Feb 2025)

  Changed paths:
    M flang/lib/Optimizer/Analysis/AliasAnalysis.cpp
    M flang/test/Analysis/AliasAnalysis/alias-analysis-2.fir
    A flang/test/Analysis/AliasAnalysis/load-ptr-alloca.fir

  Log Message:
  -----------
  [flang] AliasAnalysis: Handle fir.load on fir.alloca (#117785)

For example, determine that the address in p below cannot alias the
address of v:

```
subroutine test()
  real, pointer :: p
  real, target :: t
  real :: v
  p => t
  v = p
end subroutine test
```


  Commit: c81139f417a209dbd2a4e06465483d4b0951a9ac
      https://github.com/llvm/llvm-project/commit/c81139f417a209dbd2a4e06465483d4b0951a9ac
  Author: Sylvestre Ledru <sylvestre at debian.org>
  Date:   2025-02-13 (Thu, 13 Feb 2025)

  Changed paths:
    M libc/CMakeLists.txt

  Log Message:
  -----------
  libc/cmake: don't fail if LLVM_VERSION_SUFFIX isn't defined (#126359)

Closes: #126358

cc @samvangysegem

---------

Co-authored-by: Joseph Huber <huberjn at outlook.com>


  Commit: d18b1ebef5f5e355d6cee2b2f48789a159a5d616
      https://github.com/llvm/llvm-project/commit/d18b1ebef5f5e355d6cee2b2f48789a159a5d616
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2025-02-13 (Thu, 13 Feb 2025)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    A llvm/test/Transforms/SLPVectorizer/RISCV/check-node-without-vector-user.ll

  Log Message:
  -----------
  [SLP]Check if vector user exist before accessing it

Need to check if vector user exist before accessing it to avoid compiler
crash.
Fixes #126581


  Commit: 5e014a199bd4410bec13eb154b8055fbe45c1659
      https://github.com/llvm/llvm-project/commit/5e014a199bd4410bec13eb154b8055fbe45c1659
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2025-02-13 (Thu, 13 Feb 2025)

  Changed paths:
    M clang-tools-extra/clang-tidy/utils/ExceptionSpecAnalyzer.cpp
    M clang-tools-extra/test/clang-tidy/checkers/performance/noexcept-move-constructor.cpp
    M clang/tools/clang-scan-deps/ClangScanDeps.cpp
    M flang/lib/Optimizer/Analysis/AliasAnalysis.cpp
    M flang/runtime/pointer.cpp
    M flang/test/Analysis/AliasAnalysis/alias-analysis-2.fir
    A flang/test/Analysis/AliasAnalysis/load-ptr-alloca.fir
    M flang/unittests/Runtime/Pointer.cpp
    M libc/CMakeLists.txt
    M lld/ELF/BPSectionOrderer.cpp
    M lld/MachO/BPSectionOrderer.cpp
    M lld/test/ELF/bp-section-orderer.s
    M lld/test/MachO/bp-section-orderer.s
    M lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
    A lldb/test/API/lang/cpp/enum_promotion/Makefile
    A lldb/test/API/lang/cpp/enum_promotion/TestCPPEnumPromotion.py
    A lldb/test/API/lang/cpp/enum_promotion/main.cpp
    M lldb/test/API/tools/lldb-server/main.cpp
    M llvm/docs/NVPTXUsage.rst
    M llvm/include/llvm/IR/IntrinsicsNVVM.td
    M llvm/lib/Analysis/MemoryProfileInfo.cpp
    M llvm/lib/Analysis/PhiValues.cpp
    M llvm/lib/CodeGen/LiveStacks.cpp
    M llvm/lib/FileCheck/FileCheck.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUMCInstLower.cpp
    M llvm/lib/Target/AMDGPU/SIProgramInfo.h
    M llvm/lib/Target/NVPTX/NVPTXIntrinsics.td
    M llvm/lib/Target/RISCV/MCTargetDesc/RISCVMCTargetDesc.cpp
    M llvm/lib/Target/SPIRV/SPIRVEmitIntrinsics.cpp
    M llvm/lib/Target/SPIRV/SPIRVUtils.h
    M llvm/lib/Target/X86/X86FixupVectorConstants.cpp
    M llvm/test/CodeGen/NVPTX/prefetch.ll
    A llvm/test/CodeGen/SPIRV/validate/triton-tut-softmax-kernel.ll
    A llvm/test/Transforms/SLPVectorizer/RISCV/check-node-without-vector-user.ll
    M llvm/tools/llvm-profgen/MissingFrameInferrer.cpp
    A mlir/include/mlir-c/Dialect/Index.h
    M mlir/lib/CAPI/Dialect/CMakeLists.txt
    A mlir/lib/CAPI/Dialect/Index.cpp

  Log Message:
  -----------
  Rebase

Created using spr 1.3.5


Compare: https://github.com/llvm/llvm-project/compare/501ce30a2793...5e014a199bd4

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