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

Michael Berg via All-commits all-commits at lists.llvm.org
Tue Dec 7 14:33:08 PST 2021


  Branch: refs/heads/arcpatch-D113798
  Home:   https://github.com/llvm/llvm-project
  Commit: ea88dfda6f90b33f1e1bd7231bf249ac3b73a6f8
      https://github.com/llvm/llvm-project/commit/ea88dfda6f90b33f1e1bd7231bf249ac3b73a6f8
  Author: Michael Berg <michael.berg at sifive.com>
  Date:   2021-12-07 (Tue, 07 Dec 2021)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp
    M llvm/lib/Target/RISCV/RISCVTargetTransformInfo.h
    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