[all-commits] [llvm/llvm-project] 61ab10: [RISCV] Add tune features of preferred function/lo...

Wang Pengcheng via All-commits all-commits at lists.llvm.org
Mon Aug 14 21:05:18 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 61ab106f82d187a30e83dcd4ce5832c3802a5438
  Author: wangpc <wangpengcheng.pp at bytedance.com>
  Date:   2023-08-15 (Tue, 15 Aug 2023)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVFeatures.td
    M llvm/test/CodeGen/RISCV/align-loops.ll
    M llvm/test/CodeGen/RISCV/align.ll

  Log Message:
  [RISCV] Add tune features of preferred function/loop align

D144048 has added preferred function and loop alignment to
RISCVSubtarget, but now we need to set them manually for
different processors.

Tune features that set preferred function/loop align to
[2, 64] bytes (align 1 is not here since the min align is 2)
are added. These features can be used in processor

Reviewed By: asb

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

More information about the All-commits mailing list