[all-commits] [llvm/llvm-project] c11e3d: [RISCV] Correct RISCVTTIImpl::getIntImmCostInst fo...

Gergely Futo via All-commits all-commits at lists.llvm.org
Wed Feb 26 23:49:16 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c11e3dafcf32b9b5af8ac005af6ca8bc07934a65
      https://github.com/llvm/llvm-project/commit/c11e3dafcf32b9b5af8ac005af6ca8bc07934a65
  Author: Gergely Futo <gergely.futo at hightec-rt.com>
  Date:   2025-02-27 (Thu, 27 Feb 2025)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp
    M llvm/test/Transforms/ConstantHoisting/RISCV/immediates.ll

  Log Message:
  -----------
  [RISCV] Correct RISCVTTIImpl::getIntImmCostInst for Zba (#128174)

zext.w is only available on RV64.

We also never hoist UINT64_C(0xffffffff) on RV32, since the AND is
deleted by SelectionDAG after type legalization splits it.



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