[all-commits] [llvm/llvm-project] 3bd526: [RISCV] Stop ignoring intrinsics in costing for fo...

Craig Topper via All-commits all-commits at lists.llvm.org
Tue Sep 8 08:02:03 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3bd526b27ffe43b86d1550c79c085697434fb787
      https://github.com/llvm/llvm-project/commit/3bd526b27ffe43b86d1550c79c085697434fb787
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2026-09-08 (Tue, 08 Sep 2026)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp
    M llvm/test/Transforms/LoopUnroll/RISCV/runtime-unroll-max-trip-count.ll
    M llvm/test/Transforms/LoopUnroll/RISCV/unroll.ll

  Log Message:
  -----------
  [RISCV] Stop ignoring intrinsics in costing for force unrolling (#221107)

All intrinsic calls were hitting the "continue" for !isLoweredToCall
and bypassing the getInstructionCost.

I've modified runtime-unroll-max-trip-count.ll to override unrolling
costs and remove the bswap intrinsics that were previously not counted.

Test case written by Claude.



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