[all-commits] [llvm/llvm-project] f95ee6: [RISCV] Add target specific loop unrolling and pee...

Michael Berg via All-commits all-commits at lists.llvm.org
Sat Dec 18 12:55:15 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f95ee6074aae36efff5837e5f28f54a16d3c1b11
      https://github.com/llvm/llvm-project/commit/f95ee6074aae36efff5837e5f28f54a16d3c1b11
  Author: Michael Berg <michael.berg at sifive.com>
  Date:   2021-12-18 (Sat, 18 Dec 2021)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp
    M llvm/lib/Target/RISCV/RISCVTargetTransformInfo.h
    A llvm/test/Transforms/LoopUnroll/RISCV/lit.local.cfg
    A llvm/test/Transforms/LoopUnroll/RISCV/unroll.ll

  Log Message:
  -----------
  [RISCV] Add target specific loop unrolling and peeling preferences

Both these preference helper functions have initial support with
this change. The loop unrolling preferences are set with initial
settings to control thresholds, size and attributes of loops to
unroll with some tuning done.  The peeling preferences may need
some tuning as well as the initial support looks much like what
other architectures utilize.

Reviewed By: craig.topper

Differential Revision: https://reviews.llvm.org/D113798




More information about the All-commits mailing list