[all-commits] [llvm/llvm-project] 6af641: [RISCV] Add a tune feature to disable stripping W ...

Wang Pengcheng via All-commits all-commits at lists.llvm.org
Sun Mar 24 20:44:37 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6af6416e89de1f4656a145c4843226b468718434
      https://github.com/llvm/llvm-project/commit/6af6416e89de1f4656a145c4843226b468718434
  Author: Wang Pengcheng <wangpengcheng.pp at bytedance.com>
  Date:   2024-03-25 (Mon, 25 Mar 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVFeatures.td
    M llvm/lib/Target/RISCV/RISCVOptWInstrs.cpp
    A llvm/test/CodeGen/RISCV/strip-w-suffix.ll

  Log Message:
  -----------
  [RISCV] Add a tune feature to disable stripping W suffix (#86255)

We have a hidden option to disable it, but I'd like to make it a
tune feature.

For some implementations, instructions with W suffix would be less
costly as they only perform on 32 bits data. Though we may lose some
chances to compress.



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