[all-commits] [llvm/llvm-project] 671c0a: [Clang][Driver] Fix compiler-rt library directory ...

Nikita Popov via All-commits all-commits at lists.llvm.org
Fri Jul 17 05:35:26 PDT 2026


  Branch: refs/heads/revert-193298-users/freaknbigpanda/avx512abi-fixes
  Home:   https://github.com/llvm/llvm-project
  Commit: 671c0a275a1f304f22855fabb299090233fdbd54
      https://github.com/llvm/llvm-project/commit/671c0a275a1f304f22855fabb299090233fdbd54
  Author: tyan0 <takashi.yano at nifty.ne.jp>
  Date:   2026-07-17 (Fri, 17 Jul 2026)

  Changed paths:
    M clang/lib/Driver/ToolChain.cpp
    A clang/test/Driver/Inputs/resource_dir/lib/cygwin/libclang_rt.builtins-x86_64.a
    A clang/test/Driver/Inputs/resource_dir_with_per_target_subdir/lib/x86_64-pc-windows-cygnus/libclang_rt.builtins.a
    A clang/test/Driver/cygwin-print-file-name.c

  Log Message:
  -----------
  [Clang][Driver] Fix compiler-rt library directory for cygwin (#208925)

If compiler-rt is built with `LLVM_ENABLE_PER_TARGET_RUNTIME_DIR=OFF`,
its search directory is incorrect.

Specifically, `ToolChain::getOSLibName()` returns `windows` instead of
`cygwin` in a Cygwin environment, due to falling back to getOS(). This
results in a link error against compiler-rt.

This patch makes `getOSLibName()` return `cygwin`, ensuring that
compiler-rt is linked correctly.

---------

Signed-off-by: Takashi Yano <takashi.yano at nifty.ne.jp>


  Commit: 8377d59dfade3f1a4bf5779ddd90359bd4ddc249
      https://github.com/llvm/llvm-project/commit/8377d59dfade3f1a4bf5779ddd90359bd4ddc249
  Author: Kseniya Tikhomirova <kseniya.tikhomirova at intel.com>
  Date:   2026-07-17 (Fri, 17 Jul 2026)

  Changed paths:
    M libsycl/src/event.cpp
    M libsycl/unittests/event/event.cpp

  Log Message:
  -----------
  [libsycl] add explicit instantiations for event::get_profiling_info (#210118)

Assisted by GH Copilot.

Signed-off-by: Tikhomirova, Kseniya <kseniya.tikhomirova at intel.com>


  Commit: 4d37b5bf3099d099302cce447168b3ece4efef5e
      https://github.com/llvm/llvm-project/commit/4d37b5bf3099d099302cce447168b3ece4efef5e
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2026-07-17 (Fri, 17 Jul 2026)

  Changed paths:
    M llvm/test/Transforms/LoopVectorize/VPlan/expand-scev.ll
    M llvm/test/Transforms/LoopVectorize/nested-loops-scev-expansion.ll

  Log Message:
  -----------
  [LV] Add additional SCEV expansion tests with AddRecs. (NFC) (#210159)

Add additional test coverage for SCEV expansion of AddRecs, including
cases where extends are needed, different start and steps, as well as
cases where the outer header is not the plan's entry block.


  Commit: a9e5bb572703780e3eea4a2759104a141ea73466
      https://github.com/llvm/llvm-project/commit/a9e5bb572703780e3eea4a2759104a141ea73466
  Author: Nico Weber <thakis at chromium.org>
  Date:   2026-07-17 (Fri, 17 Jul 2026)

  Changed paths:
    M llvm/utils/gn/secondary/clang/tools/clang-ssaf-linker/BUILD.gn

  Log Message:
  -----------
  [gn build] Port 398f2117379f (#210308)


  Commit: 9a2d9c7fef47c0af321150f75d8f21db06cccb43
      https://github.com/llvm/llvm-project/commit/9a2d9c7fef47c0af321150f75d8f21db06cccb43
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2026-07-17 (Fri, 17 Jul 2026)

  Changed paths:
    M llvm/lib/Analysis/ScalarEvolution.cpp
    M llvm/test/Analysis/ScalarEvolution/exit-count-non-strict.ll
    M llvm/test/Analysis/ScalarEvolution/incorrect-exit-count.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/divergence-divergent-i1-used-outside-loop.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/divergence-structurizer.ll
    M llvm/test/CodeGen/AMDGPU/memset-pattern.ll
    M llvm/test/CodeGen/ARM/select-imm.ll
    A llvm/test/Transforms/IndVarSimplify/iv-widen-addrec-flag-inferred-late.ll

  Log Message:
  -----------
  [SCEV] Try to fold ZExt/SExt of AddRec before existing lookup. (#208805)

Move AddRec fold for ZExt & SExt before existing SCEV lookup. This can
improve results, when we constructed SCEV for a ZExt/SExt during earlier
analysis and flags on the operand AddRec have not been
refined/strengthend yet.

This improves results in some cases and fixes a regression here:
https://github.com/dtcxzyw/llvm-opt-benchmark-nightly/pull/654#discussion_r3554885279.

On a large C/C++ corpus with 32k bitcode files, ~2% more IVs get
widened, removing a large number of ZExt instructions.

Compile-time impact in the noise

https://llvm-compile-time-tracker.com/compare.php?from=167d65906cc3c636221158abe8289ab4a03dfc7d&to=381abca0d5ead4443d86287d754f47c21396a9be&stat=instructions:u


  Commit: 62a932ac3e2702a5493934c6362f9e058a204557
      https://github.com/llvm/llvm-project/commit/62a932ac3e2702a5493934c6362f9e058a204557
  Author: Abhina Sree <Abhina.Sreeskantharajan at ibm.com>
  Date:   2026-07-17 (Fri, 17 Jul 2026)

  Changed paths:
    M clang/lib/CodeGen/CodeGenModule.cpp
    A clang/test/CodeGen/SystemZ/systemz-module.flags.c
    M llvm/include/llvm/IR/Module.h
    M llvm/lib/IR/Module.cpp

  Log Message:
  -----------
  [SystemZ][z/OS] Fix zos_translation_time module flag (#210058)

The zos_translation_time flag needs to be 64-bit to handle the year 2038
problem.


  Commit: 23b0281d75a4320a4e6e3d837edf94911d98d252
      https://github.com/llvm/llvm-project/commit/23b0281d75a4320a4e6e3d837edf94911d98d252
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2026-07-17 (Fri, 17 Jul 2026)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelDAGToDAG.cpp
    A llvm/test/CodeGen/X86/tailcall-i686-pic.ll

  Log Message:
  -----------
  [X86] Fix assertion failure for tail call on i686+pic (#210302)

The pattern for TCRETURNmi has a IsNotPIC predicate, but the
checkTCRetEnoughRegs() predicate that's part of the X86tcret_enough_regs
PatFrag is evaluated first, so we can't assert that PIC is disabled
here. We should just return false in that case.

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


  Commit: db841532392265bfaea022b01b53b87ee9e047f5
      https://github.com/llvm/llvm-project/commit/db841532392265bfaea022b01b53b87ee9e047f5
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2026-07-17 (Fri, 17 Jul 2026)

  Changed paths:
    M clang/lib/CodeGen/CodeGenModule.cpp
    M clang/lib/Driver/ToolChain.cpp
    A clang/test/CodeGen/SystemZ/systemz-module.flags.c
    A clang/test/Driver/Inputs/resource_dir/lib/cygwin/libclang_rt.builtins-x86_64.a
    A clang/test/Driver/Inputs/resource_dir_with_per_target_subdir/lib/x86_64-pc-windows-cygnus/libclang_rt.builtins.a
    A clang/test/Driver/cygwin-print-file-name.c
    M libsycl/src/event.cpp
    M libsycl/unittests/event/event.cpp
    M llvm/include/llvm/IR/Module.h
    M llvm/lib/Analysis/ScalarEvolution.cpp
    M llvm/lib/IR/Module.cpp
    M llvm/lib/Target/X86/X86ISelDAGToDAG.cpp
    M llvm/test/Analysis/ScalarEvolution/exit-count-non-strict.ll
    M llvm/test/Analysis/ScalarEvolution/incorrect-exit-count.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/divergence-divergent-i1-used-outside-loop.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/divergence-structurizer.ll
    M llvm/test/CodeGen/AMDGPU/memset-pattern.ll
    M llvm/test/CodeGen/ARM/select-imm.ll
    A llvm/test/CodeGen/X86/tailcall-i686-pic.ll
    A llvm/test/Transforms/IndVarSimplify/iv-widen-addrec-flag-inferred-late.ll
    M llvm/test/Transforms/LoopVectorize/VPlan/expand-scev.ll
    M llvm/test/Transforms/LoopVectorize/nested-loops-scev-expansion.ll
    M llvm/utils/gn/secondary/clang/tools/clang-ssaf-linker/BUILD.gn

  Log Message:
  -----------
  Merge branch 'main' into revert-193298-users/freaknbigpanda/avx512abi-fixes


Compare: https://github.com/llvm/llvm-project/compare/9eec5a1e4e1d...db8415323922

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