[all-commits] [llvm/llvm-project] a1eeb5: Bitcode: Stop combining function alignments into M...

Stanislav Mekhanoshin via All-commits all-commits at lists.llvm.org
Tue Aug 26 11:43:42 PDT 2025


  Branch: refs/heads/users/rampitec/08-21-_amdgpu_refactor_insertwavesizefeature
  Home:   https://github.com/llvm/llvm-project
  Commit: a1eeb5902723116cf23e7d52380d1acca5b5530d
      https://github.com/llvm/llvm-project/commit/a1eeb5902723116cf23e7d52380d1acca5b5530d
  Author: Peter Collingbourne <peter at pcc.me.uk>
  Date:   2025-08-26 (Tue, 26 Aug 2025)

  Changed paths:
    M llvm/lib/Bitcode/Writer/BitcodeWriter.cpp

  Log Message:
  -----------
  Bitcode: Stop combining function alignments into MaxAlignment.

MaxAlignment is used to produce the abbreviation for MODULE_CODE_GLOBALVAR
and is not used for anything related to function alignments, so stop
combining function alignments and rename it to make its purpose clearer.

Reviewers: teresajohnson

Reviewed By: teresajohnson

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


  Commit: 914374624f19eb6c43bc272a4f600975f80e011a
      https://github.com/llvm/llvm-project/commit/914374624f19eb6c43bc272a4f600975f80e011a
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2025-08-26 (Tue, 26 Aug 2025)

  Changed paths:
    M llvm/lib/Analysis/ScalarEvolution.cpp
    M llvm/test/Analysis/ScalarEvolution/max-backedge-taken-count-guard-info.ll
    M llvm/test/Transforms/IndVarSimplify/rewrite-loop-exit-values-phi.ll
    M llvm/test/Transforms/LoopIdiom/X86/memset-size-compute.ll
    M llvm/test/Transforms/LoopIdiom/add-nsw-zext-fold.ll
    M llvm/test/Transforms/LoopVectorize/runtime-check.ll

  Log Message:
  -----------
  [SCEV] Try to push op into ZExt: C * zext (A + B) -> zext (A*C + B*C) (#155300)

Try to push constant multiply operand into a ZExt containing an add, if
possible. In general we are trying to push down ops through ZExt if
possible. This is similar to
https://github.com/llvm/llvm-project/pull/151227 which did the same for
additions.

For now this is restricted to adds with a constant operand, which is
similar to some of the logic above.

This enables some additional simplifications.

Alive2 Proof: https://alive2.llvm.org/ce/z/97pbSL

PR: https://github.com/llvm/llvm-project/pull/155300


  Commit: 99bfe6e58b7dcec89c34285e78ac0a40577fb0c7
      https://github.com/llvm/llvm-project/commit/99bfe6e58b7dcec89c34285e78ac0a40577fb0c7
  Author: Andy Kaylor <akaylor at nvidia.com>
  Date:   2025-08-26 (Tue, 26 Aug 2025)

  Changed paths:
    M clang/include/clang/CIR/Dialect/IR/CIROps.td
    M clang/lib/CIR/Dialect/IR/CIRDialect.cpp
    M clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp
    M clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.h
    M clang/test/CIR/IR/invalid-vtable.cir
    A clang/test/CIR/IR/vtt-addrpoint.cir
    A clang/test/CIR/Lowering/vtt-addrpoint.cir

  Log Message:
  -----------
  [CIR] Add VTTAddrPointOp (#155048)

This adds the definition, verification, and lowering for CIR's
VTTAddrPointOp. This is a bit ahead of the current codegen
implementation, which doesn't yet have support for emitting VTT
definitions, but since this doesn't depend on any of the other work in
progress, it is being upstreamed in advance.


  Commit: d73a04f8e3bea9b1802c17fa81062ad60156bcc8
      https://github.com/llvm/llvm-project/commit/d73a04f8e3bea9b1802c17fa81062ad60156bcc8
  Author: Stanislav Mekhanoshin <Stanislav.Mekhanoshin at amd.com>
  Date:   2025-08-26 (Tue, 26 Aug 2025)

  Changed paths:
    M clang/include/clang/CIR/Dialect/IR/CIROps.td
    M clang/lib/CIR/Dialect/IR/CIRDialect.cpp
    M clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp
    M clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.h
    M clang/test/CIR/IR/invalid-vtable.cir
    A clang/test/CIR/IR/vtt-addrpoint.cir
    A clang/test/CIR/Lowering/vtt-addrpoint.cir
    M llvm/lib/Analysis/ScalarEvolution.cpp
    M llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
    M llvm/test/Analysis/ScalarEvolution/max-backedge-taken-count-guard-info.ll
    M llvm/test/Transforms/IndVarSimplify/rewrite-loop-exit-values-phi.ll
    M llvm/test/Transforms/LoopIdiom/X86/memset-size-compute.ll
    M llvm/test/Transforms/LoopIdiom/add-nsw-zext-fold.ll
    M llvm/test/Transforms/LoopVectorize/runtime-check.ll

  Log Message:
  -----------
  Merge branch 'main' into users/rampitec/08-21-_amdgpu_refactor_insertwavesizefeature


Compare: https://github.com/llvm/llvm-project/compare/7ffe0f95db53...d73a04f8e3be

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