[all-commits] [llvm/llvm-project] ffd79b: [LoopUnroll] Consider simplified operands while re...

Sergey Kachkov via All-commits all-commits at lists.llvm.org
Tue Feb 6 06:01:50 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ffd79b3312cea51c0787aad479ce285771470397
      https://github.com/llvm/llvm-project/commit/ffd79b3312cea51c0787aad479ce285771470397
  Author: Sergey Kachkov <109674256+skachkov-sc at users.noreply.github.com>
  Date:   2024-02-06 (Tue, 06 Feb 2024)

  Changed paths:
    M llvm/lib/Transforms/Scalar/LoopUnrollPass.cpp
    M llvm/test/Transforms/LoopUnroll/AMDGPU/unroll-cost-addrspacecast.ll
    A llvm/test/Transforms/LoopUnroll/RISCV/unroll-Os.ll

  Log Message:
  -----------
  [LoopUnroll] Consider simplified operands while retrieving TTI instruction cost (#70929)

Get more precise cost of instruction after LoopUnroll considering that
some operands of it can be simplified, e.g. induction variable will be
replaced by constant after full unrolling.




More information about the All-commits mailing list