[all-commits] [llvm/llvm-project] a6ef08: Revert "[SLP]Fix PR101213: Reuse extractelement, o...

Justin Bogner via All-commits all-commits at lists.llvm.org
Tue Jul 30 23:16:11 PDT 2024


  Branch: refs/heads/users/bogner/sprmain.directx-make-dxilopbuilders-api-more-useable
  Home:   https://github.com/llvm/llvm-project
  Commit: a6ef0864e9cf365a5cc4a3c39c9c749c49c87c1d
      https://github.com/llvm/llvm-project/commit/a6ef0864e9cf365a5cc4a3c39c9c749c49c87c1d
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2024-07-30 (Tue, 30 Jul 2024)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    R llvm/test/Transforms/SLPVectorizer/X86/extract-vectorized-operand.ll

  Log Message:
  -----------
  Revert "[SLP]Fix PR101213: Reuse extractelement, only if its vector operand comes before new vector value."

This reverts commit f70f1228035c9610de38e0e376afdacb647c4ad9 to fix the
crash reported by https://lab.llvm.org/buildbot/#/builders/133/builds/2456.


  Commit: e59c8322632d9e6c9a56d9dfbaf79b4c4ba05bfa
      https://github.com/llvm/llvm-project/commit/e59c8322632d9e6c9a56d9dfbaf79b4c4ba05bfa
  Author: vporpo <vporpodas at google.com>
  Date:   2024-07-30 (Tue, 30 Jul 2024)

  Changed paths:
    M llvm/include/llvm/SandboxIR/SandboxIR.h
    M llvm/lib/SandboxIR/SandboxIR.cpp
    M llvm/unittests/SandboxIR/SandboxIRTest.cpp

  Log Message:
  -----------
  [SandboxIR] Implement BitCastInst (#101227)

This patch implements sandboxir::BitCastInst which mirrors
llvm::BitCastInst.


  Commit: 273e74b4458fa0d11cafb31b5b2164a8d2006541
      https://github.com/llvm/llvm-project/commit/273e74b4458fa0d11cafb31b5b2164a8d2006541
  Author: Teresa Johnson <tejohnson at google.com>
  Date:   2024-07-30 (Tue, 30 Jul 2024)

  Changed paths:
    M llvm/lib/Transforms/Utils/LCSSA.cpp

  Log Message:
  -----------
  [LCSSA] Cache the loop exit blocks across recursive analysis (NFC) (#101087)

The computation of loop exit blocks recently showed up as a huge compile
time cost for a large file. This computation was already being cached
during an invocation of formLCSSAForInstructions, but can also be cached
across callers formLCSSA and formLCSSARecursively (the latter was what
was being invoked in the examined case).

Since each of these functions has an external entry point invoked from
other passes, doing so required refactoring each into a worker mechanism
that takes a LoopExitBlocks map, and the externally callable version
that declares the map. That way we can pass it down from the outermost
formLCSSARecursively.

This reduced the time spent in the LCSSA pass from ~110s to ~1s.


  Commit: c69ed8a3122569a65cd54d8e0d5ef9431f160245
      https://github.com/llvm/llvm-project/commit/c69ed8a3122569a65cd54d8e0d5ef9431f160245
  Author: Edd Dawson <edd.dawson at sony.com>
  Date:   2024-07-30 (Tue, 30 Jul 2024)

  Changed paths:
    M clang/lib/Driver/ToolChains/PS4CPU.cpp
    M clang/test/Driver/ps4-linker.c

  Log Message:
  -----------
  [PS4][Driver] Only pass -lto-debug-options to linker when necessary (#101202)

The PS4 linker doesn't accept an empty LTO options string. Passing
nothing is also consistent with other drivers.

SIE tracker: TOOLCHAIN-16575


  Commit: 3ab0e958cc9338a8435ae29f9d381395aaba03c6
      https://github.com/llvm/llvm-project/commit/3ab0e958cc9338a8435ae29f9d381395aaba03c6
  Author: Jie Fu <jiefu at tencent.com>
  Date:   2024-07-31 (Wed, 31 Jul 2024)

  Changed paths:
    M polly/lib/Analysis/ScopBuilder.cpp

  Log Message:
  -----------
  [polly] Remove unused variable in ScopBuilder.cpp (NFC)

/llvm-project/polly/lib/Analysis/ScopBuilder.cpp:2725:18:
error: unused variable 'DT' [-Werror,-Wunused-variable]
  DominatorTree *DT = Stmt.getParent()->getDT();
                 ^
1 error generated.


  Commit: 6b1d13761ac0c9857763e5f4c0ae554f076dd9b7
      https://github.com/llvm/llvm-project/commit/6b1d13761ac0c9857763e5f4c0ae554f076dd9b7
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2024-07-30 (Tue, 30 Jul 2024)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    A llvm/test/Transforms/SLPVectorizer/X86/extract-vectorized-operand.ll

  Log Message:
  -----------
  [SLP]Fix PR101213: Reuse extractelement, only if its vector operand comes before new vector value.

When trying to reuse extractelement instruction, need to check that it
is inserted into proper position. Its original vector operand should
come before new vector value, otherwise new extractelement instruction
must be generated.

Fixes https://github.com/llvm/llvm-project/issues/101213


  Commit: 39e192b379362e9e645427631c35450d55ed517d
      https://github.com/llvm/llvm-project/commit/39e192b379362e9e645427631c35450d55ed517d
  Author: Alexandre Ganea <aganea at havenstudios.com>
  Date:   2024-07-30 (Tue, 30 Jul 2024)

  Changed paths:
    M llvm/lib/Support/Windows/Process.inc
    M llvm/lib/Support/Windows/Signals.inc

  Log Message:
  -----------
  [Support] Silence warnings when retrieving exported functions (#97905)

Since functions exported from DLLs are type-erased, before this patch I
was seeing the new Clang 19 warning `-Wcast-function-type-mismatch`.

This happens when building LLVM on Windows.

Following discussion in
https://github.com/llvm/llvm-project/commit/593f708118aef792f434185547f74fedeaf51dd4#commitcomment-143905744


  Commit: 99fb40d488c9d53dc1dfa0a1791f690523d7e50a
      https://github.com/llvm/llvm-project/commit/99fb40d488c9d53dc1dfa0a1791f690523d7e50a
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-07-30 (Tue, 30 Jul 2024)

  Changed paths:
    R llvm/test/CodeGen/RISCV/rvv/mask-exts-truncs-rv32.ll
    R llvm/test/CodeGen/RISCV/rvv/mask-exts-truncs-rv64.ll
    A llvm/test/CodeGen/RISCV/rvv/mask-exts-truncs.ll
    R llvm/test/CodeGen/RISCV/rvv/vmv.s.x-rv32.ll
    R llvm/test/CodeGen/RISCV/rvv/vmv.s.x-rv64.ll
    A llvm/test/CodeGen/RISCV/rvv/vmv.s.x.ll
    R llvm/test/CodeGen/RISCV/rvv/vmv.v.v-rv32.ll
    R llvm/test/CodeGen/RISCV/rvv/vmv.v.v-rv64.ll
    A llvm/test/CodeGen/RISCV/rvv/vmv.v.v.ll
    R llvm/test/CodeGen/RISCV/rvv/vmv.v.x-rv32.ll
    R llvm/test/CodeGen/RISCV/rvv/vmv.v.x-rv64.ll
    A llvm/test/CodeGen/RISCV/rvv/vmv.v.x.ll
    R llvm/test/CodeGen/RISCV/rvv/vmv.x.s-rv32.ll
    R llvm/test/CodeGen/RISCV/rvv/vmv.x.s-rv64.ll
    A llvm/test/CodeGen/RISCV/rvv/vmv.x.s.ll
    R llvm/test/CodeGen/RISCV/rvv/vrgather-rv32.ll
    R llvm/test/CodeGen/RISCV/rvv/vrgather-rv64.ll
    A llvm/test/CodeGen/RISCV/rvv/vrgather.ll
    R llvm/test/CodeGen/RISCV/rvv/vrgatherei16-rv32.ll
    R llvm/test/CodeGen/RISCV/rvv/vrgatherei16-rv64.ll
    A llvm/test/CodeGen/RISCV/rvv/vrgatherei16.ll
    R llvm/test/CodeGen/RISCV/rvv/vslide1down-rv32.ll
    R llvm/test/CodeGen/RISCV/rvv/vslide1down-rv64.ll
    A llvm/test/CodeGen/RISCV/rvv/vslide1down.ll
    R llvm/test/CodeGen/RISCV/rvv/vslide1up-rv32.ll
    R llvm/test/CodeGen/RISCV/rvv/vslide1up-rv64.ll
    A llvm/test/CodeGen/RISCV/rvv/vslide1up.ll

  Log Message:
  -----------
  [RISCV] Merge more rv32/rv64 intrtinsic tests that have (or should have) the same content. NFC

We weren't testing i64 vrgather.vv on rv32.


  Commit: 12189f800585ab459afa20b4f159db93ae474b57
      https://github.com/llvm/llvm-project/commit/12189f800585ab459afa20b4f159db93ae474b57
  Author: Peiming Liu <peiming at google.com>
  Date:   2024-07-30 (Tue, 30 Jul 2024)

  Changed paths:
    M mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorOps.td
    M mlir/lib/Dialect/SparseTensor/IR/SparseTensorDialect.cpp
    M mlir/test/Dialect/SparseTensor/invalid.mlir
    M mlir/test/Dialect/SparseTensor/roundtrip.mlir

  Log Message:
  -----------
  [mlir][sparse] introduce `sparse_tensor.extract_value` operation. (#101219)


  Commit: ebdcb76d1a3b6d8fed06c91c0a318f07f4bca628
      https://github.com/llvm/llvm-project/commit/ebdcb76d1a3b6d8fed06c91c0a318f07f4bca628
  Author: Joseph Huber <huberjn at outlook.com>
  Date:   2024-07-30 (Tue, 30 Jul 2024)

  Changed paths:
    M libc/benchmarks/gpu/src/math/CMakeLists.txt

  Log Message:
  -----------
  [libc] Only link in the appropriate architecture's device libs


  Commit: 546e4a210cb23e24a8086532c007280cb8ad3f13
      https://github.com/llvm/llvm-project/commit/546e4a210cb23e24a8086532c007280cb8ad3f13
  Author: Job Henandez Lara <hj93 at protonmail.com>
  Date:   2024-07-30 (Tue, 30 Jul 2024)

  Changed paths:
    M libc/config/linux/aarch64/entrypoints.txt
    M libc/config/linux/arm/entrypoints.txt
    M libc/config/linux/riscv/entrypoints.txt
    M libc/config/linux/x86_64/entrypoints.txt
    M libc/docs/math/index.rst
    M libc/spec/stdc.td
    M libc/src/math/CMakeLists.txt
    M libc/src/math/generic/CMakeLists.txt
    A libc/src/math/generic/setpayload.cpp
    A libc/src/math/generic/setpayloadf.cpp
    A libc/src/math/generic/setpayloadf128.cpp
    A libc/src/math/setpayload.h
    A libc/src/math/setpayloadf.h
    A libc/src/math/setpayloadf128.h
    M libc/test/src/math/smoke/CMakeLists.txt
    A libc/test/src/math/smoke/setpayload_test.cpp
    A libc/test/src/math/smoke/setpayloadf128_test.cpp
    A libc/test/src/math/smoke/setpayloadf_test.cpp

  Log Message:
  -----------
  [libc][math][c23] Add entrypoints and tests for setpayload{,f,f128} (#101122)


  Commit: 79dcd93b70e1e36fea43b1bb297b98299bbbf612
      https://github.com/llvm/llvm-project/commit/79dcd93b70e1e36fea43b1bb297b98299bbbf612
  Author: Sayhaan Siddiqui <49014204+sayhaan at users.noreply.github.com>
  Date:   2024-07-30 (Tue, 30 Jul 2024)

  Changed paths:
    M bolt/include/bolt/Rewrite/DWARFRewriter.h
    M bolt/lib/Rewrite/CMakeLists.txt
    M bolt/lib/Rewrite/DWARFRewriter.cpp
    M bolt/test/X86/debug-fission-single-convert.s
    M bolt/test/X86/debug-fission-single.s
    R bolt/test/X86/dwarf4-ftypes-dwo-input-dwp-output.test
    R bolt/test/X86/dwarf4-ftypes-dwo-mono-input-dwp-output.test
    M bolt/test/X86/dwarf5-df-types-modify-dwo-name-mixed.test
    M bolt/test/X86/dwarf5-df-types-modify-dwo-name.test
    R bolt/test/X86/dwarf5-ftypes-dwo-mono-input-dwp-output.test

  Log Message:
  -----------
  [BOLT][DWARF] Remove option to write to DWP (#100771)

Remove the --write-dwp option as well as related code and tests.


  Commit: a982cabea3cfbf456a01ed85499fa7dfc7ec18c7
      https://github.com/llvm/llvm-project/commit/a982cabea3cfbf456a01ed85499fa7dfc7ec18c7
  Author: Jon Roelofs <jonathan_roelofs at apple.com>
  Date:   2024-07-30 (Tue, 30 Jul 2024)

  Changed paths:
    M clang/cmake/modules/AddClang.cmake
    M lldb/cmake/modules/AddLLDB.cmake
    M llvm/CMakeLists.txt
    M llvm/cmake/modules/AddLLVM.cmake

  Log Message:
  -----------
  [cmake][llvm] Limit the number of Xcode schemes created by default (#101243)

CMake -GXcode would otherwise offer to create one scheme for each
target, which ends up being a lot. For now, limit the default to the
`check-*` LIT targets, plus `ALL_BUILD` and `install`.

For targets that aren't in the default list, we now have a configuration
variable to promote an extra list of targets into schemes, for example
`-DLLVM_XCODE_EXTRA_TARGET_SCHEMES="TargetParserTests;SupportTests"` to
add schemes for `TargetParserTests` and `SupportTests` respectively.


  Commit: 80c0e8d572d3b1c34d66faffc42bcfc9432583ec
      https://github.com/llvm/llvm-project/commit/80c0e8d572d3b1c34d66faffc42bcfc9432583ec
  Author: Farzon Lotfi <1802579+farzonl at users.noreply.github.com>
  Date:   2024-07-30 (Tue, 30 Jul 2024)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/fp-strict-libcalls-msvc32.ll

  Log Message:
  -----------
  [x86][Windows] Fix chromium build break (#101268)

Windows does not support float C89 math functions like:
- acosf
- asinf
- atanf
- coshf
- sinhf
- tanhf 
All 6 are disabled in
[TargetLibraryInfo.cpp:293](https://github.com/llvm/llvm-project/blob/39e192b379362e9e645427631c35450d55ed517d/llvm/lib/Analysis/TargetLibraryInfo.cpp#L293C4-L296C41)
These 6 libfuncs need to be type promoted.

This PR fixes the bug introduced by
https://github.com/llvm/llvm-project/pull/98949


  Commit: 9589c128ae40df3e2277487544e693f3887f7d63
      https://github.com/llvm/llvm-project/commit/9589c128ae40df3e2277487544e693f3887f7d63
  Author: Allen <zhongyunde at huawei.com>
  Date:   2024-07-31 (Wed, 31 Jul 2024)

  Changed paths:
    M clang/lib/CodeGen/CGBuiltin.cpp
    A clang/test/CodeGen/math-libcalls-tbaa.c
    R clang/test/CodeGen/math-libcalls-tbaa.cpp

  Log Message:
  -----------
  [clang codegen] Emit int TBAA metadata on more FP math libcalls (#100302)

Follow #96025, except expf, more FP math libcalls in libm should also be
supported.

Fix https://github.com/llvm/llvm-project/issues/86635


  Commit: cc01c83a4ab10fc5421e2121ea273ff1adb3e84c
      https://github.com/llvm/llvm-project/commit/cc01c83a4ab10fc5421e2121ea273ff1adb3e84c
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-07-30 (Tue, 30 Jul 2024)

  Changed paths:
    A llvm/test/MC/ELF/layout-interdependency2.s

  Log Message:
  -----------
  [MC,test] Add a stress test for layout algorithm

Reduced from #100283


  Commit: d2f77eb8ec620c8068fa471a1d7b9c9756da1913
      https://github.com/llvm/llvm-project/commit/d2f77eb8ec620c8068fa471a1d7b9c9756da1913
  Author: NAKAMURA Takumi <geek4civic at gmail.com>
  Date:   2024-07-31 (Wed, 31 Jul 2024)

  Changed paths:
    M compiler-rt/include/profile/InstrProfData.inc
    M compiler-rt/lib/profile/InstrProfilingFile.c
    M llvm/include/llvm/ProfileData/InstrProf.h
    M llvm/include/llvm/ProfileData/InstrProfData.inc
    M llvm/lib/Transforms/Instrumentation/InstrProfiling.cpp
    M llvm/test/Instrumentation/InstrProfiling/mcdc.ll

  Log Message:
  -----------
  [MC/DC][Coverage] Introduce "Bitmap Bias" for continuous mode (#96126)

`counter_bias` is incompatible to Bitmap. The distance between Counters
and Bitmap is different between on-memory sections and profraw image.

Reference to `__llvm_profile_bitmap_bias` is generated only if
`-fcoverge-mcdc` `-runtime-counter-relocation` are specified. The
current implementation rejected their options.

```
Runtime counter relocation is presently not supported for MC/DC bitmaps
```


  Commit: 6aaf87021eda13727bfee690652cbbb9d1b3cdb2
      https://github.com/llvm/llvm-project/commit/6aaf87021eda13727bfee690652cbbb9d1b3cdb2
  Author: Job Henandez Lara <hj93 at protonmail.com>
  Date:   2024-07-30 (Tue, 30 Jul 2024)

  Changed paths:
    M libc/spec/stdc.td

  Log Message:
  -----------
  [libc][math] fix header spec bug (#101273)


  Commit: c35c4c72e4977258fc1da940e0470e8d0671bf07
      https://github.com/llvm/llvm-project/commit/c35c4c72e4977258fc1da940e0470e8d0671bf07
  Author: Med Ismail Bennani <ismail at bennani.ma>
  Date:   2024-07-30 (Tue, 30 Jul 2024)

  Changed paths:
    M lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/CMakeLists.txt
    R lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface.cpp
    R lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface.h
    A lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface/CMakeLists.txt
    A lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface/ScriptedProcessPythonInterface.cpp
    A lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface/ScriptedProcessPythonInterface.h
    M lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp

  Log Message:
  -----------
  [lldb] Reland 2402b3213c2f with `-H` to debug the windows build issue

This patch relands 2402b3213c2f to investigate the ambigious typedef
issue happening on the windows bots:

https://lab.llvm.org/buildbot/#/builders/141/builds/1175/

However this patch adds the `-H` compiler flag when building
the ScriptedProcessPythonInterface library to be able to investigate the
include order issue.

This patch will be revert after 1 failing run on the windows bot.

Signed-off-by: Med Ismail Bennani <ismail at bennani.ma>


  Commit: be5a845e4c29aadb513ae6e5e2879dccf37efdbb
      https://github.com/llvm/llvm-project/commit/be5a845e4c29aadb513ae6e5e2879dccf37efdbb
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-07-30 (Tue, 30 Jul 2024)

  Changed paths:
    M llvm/include/llvm/MC/MCAsmBackend.h
    M llvm/include/llvm/MC/MCAssembler.h
    M llvm/include/llvm/MC/MCSection.h
    M llvm/lib/MC/MCAssembler.cpp
    M llvm/lib/MC/MCSection.cpp
    M llvm/lib/Target/Hexagon/MCTargetDesc/HexagonAsmBackend.cpp
    M llvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp
    M llvm/test/MC/ELF/relax-recompute-align.s

  Log Message:
  -----------
  [MC] Compute fragment offsets eagerly

This builds on top of commit 9d0754ada5dbbc0c009bcc2f7824488419cc5530
("[MC] Relax fragments eagerly") and relaxes fragments eagerly to
eliminate MCSection::HasLayout and `getFragmentOffset` overhead. The
approach is slightly different from
1a47f3f3db66589c11f8ddacfeaecc03fb80c510 and has less performance
benefit.

The new layout algorithm also addresses the following problems:

* Size change of MCFillFragment/MCOrgFragment did not influence the
  fixed-point iteration, which could be problematic for contrived cases.
* The `invalid number of bytes` error was reported too early. Since
  `.zero A-B` might have temporary negative values in the first few
  iterations.
* X86AsmBackend::finishLayout performed only one iteration, which might
  not converge. In addition, the removed `#ifndef NDEBUG` code (disabled
  by default) in X86AsmBackend::finishLayout was problematic, as !NDEBUG
  and NDEBUG builds evaluated fragment offsets at different times before
  this patch.
* The computed layout for relax-recompute-align.s is optimal now.

Builds with many text sections (e.g. full LTO) shall observe a decrease
in compile time while the new algorithm could be slightly slower for
some -O0 -g projects.

Aligned bundling from the deprecated PNaCl placed constraints how we can
perform iteration.


  Commit: 891d89804b9a8a2be949aa2aca30acba9bc64ebb
      https://github.com/llvm/llvm-project/commit/891d89804b9a8a2be949aa2aca30acba9bc64ebb
  Author: NAKAMURA Takumi <geek4civic at gmail.com>
  Date:   2024-07-31 (Wed, 31 Jul 2024)

  Changed paths:
    M llvm/test/Instrumentation/InstrProfiling/mcdc.ll

  Log Message:
  -----------
  Fixup (#96126) mcdc.ll for aarch64. align is not 8.


  Commit: 41003ff3fe344dee5c963d462a4bc6d528811d86
      https://github.com/llvm/llvm-project/commit/41003ff3fe344dee5c963d462a4bc6d528811d86
  Author: Tom Stellard <tstellar at redhat.com>
  Date:   2024-07-30 (Tue, 30 Jul 2024)

  Changed paths:
    M .github/workflows/release-binaries.yml

  Log Message:
  -----------
  workflows/release-binaries: Fetch composite actions outside of default workspace (#100845)

Otherwise, the checkout step will override them.


  Commit: 7231776a0218033ea81f73e69ca4bf66734d3117
      https://github.com/llvm/llvm-project/commit/7231776a0218033ea81f73e69ca4bf66734d3117
  Author: Julius Alexandre <juliuswoosebert at gmail.com>
  Date:   2024-07-30 (Tue, 30 Jul 2024)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
    M llvm/test/CodeGen/RISCV/avgflooru.ll
    A llvm/test/CodeGen/X86/avgflooru-i128.ll
    M llvm/test/CodeGen/X86/avgflooru-scalar.ll

  Log Message:
  -----------
  Recommit "[DAG] Reducing instructions by better legalization handling of AVGFLOORU for illegal data types" (#101223)

Previous reverted merge: https://github.com/llvm/llvm-project/pull/99913

Original message:
**Issue:** https://github.com/rust-lang/rust/issues/124790
**Previous PR:** https://github.com/llvm/llvm-project/pull/99614

https://rust.godbolt.org/z/T7eKP3Tvo

**Aarch64:** https://alive2.llvm.org/ce/z/dqr2Kg
**x86:** https://alive2.llvm.org/ce/z/ze88Hw


  Commit: fd6faee5b3b5a7c0e5e87aa0b5719a1a48159ea0
      https://github.com/llvm/llvm-project/commit/fd6faee5b3b5a7c0e5e87aa0b5719a1a48159ea0
  Author: Shengchen Kan <shengchen.kan at intel.com>
  Date:   2024-07-31 (Wed, 31 Jul 2024)

  Changed paths:
    M clang/lib/Driver/ToolChains/Arch/X86.cpp
    M clang/test/Driver/x86-target-features.c
    M llvm/lib/Target/X86/X86Subtarget.cpp
    A llvm/test/CodeGen/X86/apx/i386-ndd.ll

  Log Message:
  -----------
  [Driver,CodeGen] Report error when enabling 64-bit-only features on non-64-bit arch (#101151)

In front-end, now we detect for `-mapx-features=/-mapxf` and `-muintr`,
which is aligned with GCC

https://gcc.gnu.org/bugzilla/attachment.cgi?id=58698&action=diff

In backend, we just disable these 64-bit-only features silently, so that
there is no error for
`-march=native -m32` on APX-supported arch.

llvm-issue: https://github.com/llvm/llvm-project/issues/94810
GCC thread: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115978


  Commit: f65fa5461dcbaf554babf10ca67ae8fea5b4da7e
      https://github.com/llvm/llvm-project/commit/f65fa5461dcbaf554babf10ca67ae8fea5b4da7e
  Author: Med Ismail Bennani <ismail at bennani.ma>
  Date:   2024-07-30 (Tue, 30 Jul 2024)

  Changed paths:
    M lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/CMakeLists.txt
    A lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface.cpp
    A lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface.h
    R lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface/CMakeLists.txt
    R lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface/ScriptedProcessPythonInterface.cpp
    R lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface/ScriptedProcessPythonInterface.h
    M lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp

  Log Message:
  -----------
  Revert "[lldb] Reland 2402b3213c2f with `-H` to debug the windows build issue"

This reverts commit c35c4c72e4977258fc1da940e0470e8d0671bf07.


  Commit: e72cdae47b4e263ea97b2bdd75cf44c1510cf3be
      https://github.com/llvm/llvm-project/commit/e72cdae47b4e263ea97b2bdd75cf44c1510cf3be
  Author: Med Ismail Bennani <ismail at bennani.ma>
  Date:   2024-07-30 (Tue, 30 Jul 2024)

  Changed paths:
    M lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/CMakeLists.txt
    R lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface.cpp
    R lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface.h
    A lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface/CMakeLists.txt
    A lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface/ScriptedProcessPythonInterface.cpp
    A lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface/ScriptedProcessPythonInterface.h
    M lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp

  Log Message:
  -----------
  [lldb] Reland 2402b3213c2f with `/H` to debug the windows build issue

This patch relands 2402b3213c2f to investigate the ambigious typedef
issue happening on the windows bots:

https://lab.llvm.org/buildbot/#/builders/141/builds/1175/

However this patch adds the `/H` compiler flag when building
the ScriptedProcessPythonInterface library to be able to investigate the
include order issue.

This patch will be revert after 1 failing run on the windows bot.

Signed-off-by: Med Ismail Bennani <ismail at bennani.ma>


  Commit: 57acabb8e09baa38b156965b2dc567a8c7eb2429
      https://github.com/llvm/llvm-project/commit/57acabb8e09baa38b156965b2dc567a8c7eb2429
  Author: Shengchen Kan <shengchen.kan at intel.com>
  Date:   2024-07-31 (Wed, 31 Jul 2024)

  Changed paths:
    M clang/test/Preprocessor/x86_target_features.c

  Log Message:
  -----------
  [Driver,X86] Update test Clang::Preprocessor/x86_target_features.c after #101151


  Commit: 7c1ddcd94e4bd5cfe34d5e1a6e4630ca2d526c36
      https://github.com/llvm/llvm-project/commit/7c1ddcd94e4bd5cfe34d5e1a6e4630ca2d526c36
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-07-30 (Tue, 30 Jul 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
    M llvm/test/CodeGen/RISCV/rvv/unmasked-tu.ll
    M llvm/test/CodeGen/RISCV/rvv/vfmerge.ll

  Log Message:
  -----------
  [RISCV] Remove isel patterns for riscv.vfmerge with vector-vector operands. (#101277)

The vfmerge intrinsic is only used by clang for vfmerge.vfm. vmerge.vvm
for both int and float should use the llvm.vmerge intrinsic.

This patch removes the vector-vector support for llvm.vfmerge and
updates the tests to test what clang really uses.


  Commit: 7a80c86726f7c37128bfee3618707c1607f5014d
      https://github.com/llvm/llvm-project/commit/7a80c86726f7c37128bfee3618707c1607f5014d
  Author: abhishek-kaushik22 <abhishek.kaushik at intel.com>
  Date:   2024-07-31 (Wed, 31 Jul 2024)

  Changed paths:
    M llvm/lib/MC/MCContext.cpp

  Log Message:
  -----------
  [MC] Remove redundant null check, NFCI (#100928)

`getOrCreateSymbol` should never return a `nullptr`, add an assert and
remove the redundant null check in the if condition.


  Commit: ee1040b02adc95e376b295c4f59d30b991a8be9a
      https://github.com/llvm/llvm-project/commit/ee1040b02adc95e376b295c4f59d30b991a8be9a
  Author: eddyz87 <eddyz87 at gmail.com>
  Date:   2024-07-31 (Wed, 31 Jul 2024)

  Changed paths:
    A llvm/test/tools/llvm-objdump/BPF/disassemble-symbolize-operands.s
    M llvm/tools/llvm-objdump/llvm-objdump.cpp

  Log Message:
  -----------
  [llvm-objdump][BPF] --symbolize-operands: infer local labels for BPF (#100550)

Enable local labels computation for BPF disassembly when
`--symbolize-operands` option is specified.
This relies on `MCInstrAnalysis::evaluateBranch()` method, which is
already defined in `BPFMCInstrAnalysis::evaluateBranch`.

After this change the assembly code below:

        if r1 > 42 goto +1
        r1 -= 10
        ...

Would be printed as:

        if r1 > 42 goto +1 <L0>
        r1 -= 10
      <L0>:
        ...

(when `--symbolize-operands` option is set).

See https://reviews.llvm.org/D84191 for the main part of the
`--symbolize-operands` implementation logic.


  Commit: 94da6bfb27dcff68bebd0d1ce1a61346c231ed64
      https://github.com/llvm/llvm-project/commit/94da6bfb27dcff68bebd0d1ce1a61346c231ed64
  Author: Justin Bogner <mail at justinbogner.com>
  Date:   2024-07-30 (Tue, 30 Jul 2024)

  Changed paths:
    M llvm/lib/Target/DirectX/DXILConstants.h
    M llvm/lib/Target/DirectX/DXILOpLowering.cpp
    M llvm/utils/TableGen/DXILEmitter.cpp

  Log Message:
  -----------
  [DirectX] Simplify DXIL_OP_INTRINSIC_MAP tablegen'ed code

Rather than generate a map with a known name, just define the mapping
so the code that uses it can do what it needs.

Pull Request: https://github.com/llvm/llvm-project/pull/101248


  Commit: 20d723e626befde6d1de66595ce37521cbde0538
      https://github.com/llvm/llvm-project/commit/20d723e626befde6d1de66595ce37521cbde0538
  Author: NAKAMURA Takumi <geek4civic at gmail.com>
  Date:   2024-07-31 (Wed, 31 Jul 2024)

  Changed paths:
    M compiler-rt/lib/profile/InstrProfilingFile.c

  Log Message:
  -----------
  Fix for #96126, add `BitmapBiasAddr` to definitions for unsupported targets.


  Commit: 1961f9fc6d7b207734354ca152a6c0a267cce0c0
      https://github.com/llvm/llvm-project/commit/1961f9fc6d7b207734354ca152a6c0a267cce0c0
  Author: Timm Baeder <tbaeder at redhat.com>
  Date:   2024-07-31 (Wed, 31 Jul 2024)

  Changed paths:
    M clang/include/clang/AST/Type.h
    M clang/include/clang/Sema/Overload.h
    M clang/lib/AST/ExprCXX.cpp
    M clang/lib/AST/Interp/Context.cpp
    M clang/lib/AST/ItaniumMangle.cpp
    M clang/lib/AST/Type.cpp
    M clang/lib/Analysis/Consumed.cpp
    M clang/lib/Analysis/ThreadSafetyCommon.cpp
    M clang/lib/Sema/SemaDecl.cpp
    M clang/lib/Sema/SemaDeclAttr.cpp
    M clang/lib/Sema/SemaExprCXX.cpp
    M clang/lib/Sema/SemaTemplate.cpp

  Log Message:
  -----------
  [clang][NFC] Add Type::isPointerOrReferenceType() (#101206)

Seems to be a common pattern.


  Commit: 50cf413426805d32c19c71756f601c864dd6fa7a
      https://github.com/llvm/llvm-project/commit/50cf413426805d32c19c71756f601c864dd6fa7a
  Author: Shengchen Kan <shengchen.kan at intel.com>
  Date:   2024-07-31 (Wed, 31 Jul 2024)

  Changed paths:
    M llvm/lib/Target/X86/X86InstrInfo.cpp
    M llvm/test/CodeGen/X86/apx/setzucc.ll

  Log Message:
  -----------
  [X86,CodeGen] Return the correct condition code for SETZUCC

llvm-issue: https://github.com/llvm/llvm-project/issues/101288


  Commit: 40940980bf87832b0275dcfa91ab03738c569b18
      https://github.com/llvm/llvm-project/commit/40940980bf87832b0275dcfa91ab03738c569b18
  Author: Justin Bogner <mail at justinbogner.com>
  Date:   2024-07-30 (Tue, 30 Jul 2024)

  Changed paths:
    M llvm/lib/Target/DirectX/DXILConstants.h
    M llvm/utils/TableGen/DXILEmitter.cpp

  Log Message:
  -----------
  [DirectX] Simplify tablegen'd OpCode and OpClass enums

Pull Request: https://github.com/llvm/llvm-project/pull/101249


  Commit: 7ccdb3dfc974634c8f306d15f80d7060b7b92748
      https://github.com/llvm/llvm-project/commit/7ccdb3dfc974634c8f306d15f80d7060b7b92748
  Author: Justin Bogner <mail at justinbogner.com>
  Date:   2024-07-30 (Tue, 30 Jul 2024)

  Changed paths:
    M .github/workflows/release-binaries.yml
    M bolt/include/bolt/Rewrite/DWARFRewriter.h
    M bolt/lib/Rewrite/CMakeLists.txt
    M bolt/lib/Rewrite/DWARFRewriter.cpp
    M bolt/test/X86/debug-fission-single-convert.s
    M bolt/test/X86/debug-fission-single.s
    R bolt/test/X86/dwarf4-ftypes-dwo-input-dwp-output.test
    R bolt/test/X86/dwarf4-ftypes-dwo-mono-input-dwp-output.test
    M bolt/test/X86/dwarf5-df-types-modify-dwo-name-mixed.test
    M bolt/test/X86/dwarf5-df-types-modify-dwo-name.test
    R bolt/test/X86/dwarf5-ftypes-dwo-mono-input-dwp-output.test
    M clang/cmake/modules/AddClang.cmake
    M clang/include/clang/AST/Type.h
    M clang/include/clang/Sema/Overload.h
    M clang/lib/AST/ExprCXX.cpp
    M clang/lib/AST/Interp/Context.cpp
    M clang/lib/AST/ItaniumMangle.cpp
    M clang/lib/AST/Type.cpp
    M clang/lib/Analysis/Consumed.cpp
    M clang/lib/Analysis/ThreadSafetyCommon.cpp
    M clang/lib/CodeGen/CGBuiltin.cpp
    M clang/lib/Driver/ToolChains/Arch/X86.cpp
    M clang/lib/Driver/ToolChains/PS4CPU.cpp
    M clang/lib/Sema/SemaDecl.cpp
    M clang/lib/Sema/SemaDeclAttr.cpp
    M clang/lib/Sema/SemaExprCXX.cpp
    M clang/lib/Sema/SemaTemplate.cpp
    A clang/test/CodeGen/math-libcalls-tbaa.c
    R clang/test/CodeGen/math-libcalls-tbaa.cpp
    M clang/test/Driver/ps4-linker.c
    M clang/test/Driver/x86-target-features.c
    M clang/test/Preprocessor/x86_target_features.c
    M compiler-rt/include/profile/InstrProfData.inc
    M compiler-rt/lib/profile/InstrProfilingFile.c
    M libc/benchmarks/gpu/src/math/CMakeLists.txt
    M libc/config/linux/aarch64/entrypoints.txt
    M libc/config/linux/arm/entrypoints.txt
    M libc/config/linux/riscv/entrypoints.txt
    M libc/config/linux/x86_64/entrypoints.txt
    M libc/docs/math/index.rst
    M libc/spec/stdc.td
    M libc/src/math/CMakeLists.txt
    M libc/src/math/generic/CMakeLists.txt
    A libc/src/math/generic/setpayload.cpp
    A libc/src/math/generic/setpayloadf.cpp
    A libc/src/math/generic/setpayloadf128.cpp
    A libc/src/math/setpayload.h
    A libc/src/math/setpayloadf.h
    A libc/src/math/setpayloadf128.h
    M libc/test/src/math/smoke/CMakeLists.txt
    A libc/test/src/math/smoke/setpayload_test.cpp
    A libc/test/src/math/smoke/setpayloadf128_test.cpp
    A libc/test/src/math/smoke/setpayloadf_test.cpp
    M lldb/cmake/modules/AddLLDB.cmake
    M lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/CMakeLists.txt
    R lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface.cpp
    R lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface.h
    A lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface/CMakeLists.txt
    A lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface/ScriptedProcessPythonInterface.cpp
    A lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface/ScriptedProcessPythonInterface.h
    M lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
    M llvm/CMakeLists.txt
    M llvm/cmake/modules/AddLLVM.cmake
    M llvm/include/llvm/MC/MCAsmBackend.h
    M llvm/include/llvm/MC/MCAssembler.h
    M llvm/include/llvm/MC/MCSection.h
    M llvm/include/llvm/ProfileData/InstrProf.h
    M llvm/include/llvm/ProfileData/InstrProfData.inc
    M llvm/include/llvm/SandboxIR/SandboxIR.h
    M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
    M llvm/lib/MC/MCAssembler.cpp
    M llvm/lib/MC/MCContext.cpp
    M llvm/lib/MC/MCSection.cpp
    M llvm/lib/SandboxIR/SandboxIR.cpp
    M llvm/lib/Support/Windows/Process.inc
    M llvm/lib/Support/Windows/Signals.inc
    M llvm/lib/Target/Hexagon/MCTargetDesc/HexagonAsmBackend.cpp
    M llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
    M llvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/lib/Target/X86/X86InstrInfo.cpp
    M llvm/lib/Target/X86/X86Subtarget.cpp
    M llvm/lib/Transforms/Instrumentation/InstrProfiling.cpp
    M llvm/lib/Transforms/Utils/LCSSA.cpp
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    M llvm/test/CodeGen/RISCV/avgflooru.ll
    R llvm/test/CodeGen/RISCV/rvv/mask-exts-truncs-rv32.ll
    R llvm/test/CodeGen/RISCV/rvv/mask-exts-truncs-rv64.ll
    A llvm/test/CodeGen/RISCV/rvv/mask-exts-truncs.ll
    M llvm/test/CodeGen/RISCV/rvv/unmasked-tu.ll
    M llvm/test/CodeGen/RISCV/rvv/vfmerge.ll
    R llvm/test/CodeGen/RISCV/rvv/vmv.s.x-rv32.ll
    R llvm/test/CodeGen/RISCV/rvv/vmv.s.x-rv64.ll
    A llvm/test/CodeGen/RISCV/rvv/vmv.s.x.ll
    R llvm/test/CodeGen/RISCV/rvv/vmv.v.v-rv32.ll
    R llvm/test/CodeGen/RISCV/rvv/vmv.v.v-rv64.ll
    A llvm/test/CodeGen/RISCV/rvv/vmv.v.v.ll
    R llvm/test/CodeGen/RISCV/rvv/vmv.v.x-rv32.ll
    R llvm/test/CodeGen/RISCV/rvv/vmv.v.x-rv64.ll
    A llvm/test/CodeGen/RISCV/rvv/vmv.v.x.ll
    R llvm/test/CodeGen/RISCV/rvv/vmv.x.s-rv32.ll
    R llvm/test/CodeGen/RISCV/rvv/vmv.x.s-rv64.ll
    A llvm/test/CodeGen/RISCV/rvv/vmv.x.s.ll
    R llvm/test/CodeGen/RISCV/rvv/vrgather-rv32.ll
    R llvm/test/CodeGen/RISCV/rvv/vrgather-rv64.ll
    A llvm/test/CodeGen/RISCV/rvv/vrgather.ll
    R llvm/test/CodeGen/RISCV/rvv/vrgatherei16-rv32.ll
    R llvm/test/CodeGen/RISCV/rvv/vrgatherei16-rv64.ll
    A llvm/test/CodeGen/RISCV/rvv/vrgatherei16.ll
    R llvm/test/CodeGen/RISCV/rvv/vslide1down-rv32.ll
    R llvm/test/CodeGen/RISCV/rvv/vslide1down-rv64.ll
    A llvm/test/CodeGen/RISCV/rvv/vslide1down.ll
    R llvm/test/CodeGen/RISCV/rvv/vslide1up-rv32.ll
    R llvm/test/CodeGen/RISCV/rvv/vslide1up-rv64.ll
    A llvm/test/CodeGen/RISCV/rvv/vslide1up.ll
    A llvm/test/CodeGen/X86/apx/i386-ndd.ll
    M llvm/test/CodeGen/X86/apx/setzucc.ll
    A llvm/test/CodeGen/X86/avgflooru-i128.ll
    M llvm/test/CodeGen/X86/avgflooru-scalar.ll
    M llvm/test/CodeGen/X86/fp-strict-libcalls-msvc32.ll
    M llvm/test/Instrumentation/InstrProfiling/mcdc.ll
    A llvm/test/MC/ELF/layout-interdependency2.s
    M llvm/test/MC/ELF/relax-recompute-align.s
    A llvm/test/tools/llvm-objdump/BPF/disassemble-symbolize-operands.s
    M llvm/tools/llvm-objdump/llvm-objdump.cpp
    M llvm/unittests/SandboxIR/SandboxIRTest.cpp
    M llvm/utils/TableGen/DXILEmitter.cpp
    M mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorOps.td
    M mlir/lib/Dialect/SparseTensor/IR/SparseTensorDialect.cpp
    M mlir/test/Dialect/SparseTensor/invalid.mlir
    M mlir/test/Dialect/SparseTensor/roundtrip.mlir
    M polly/lib/Analysis/ScopBuilder.cpp

  Log Message:
  -----------
  [𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.5-bogner

[skip ci]


Compare: https://github.com/llvm/llvm-project/compare/e5d6af2529ea...7ccdb3dfc974

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