[all-commits] [llvm/llvm-project] 399143: [RISCV] Use zext.b/zext.h/zext.w instead of th.ext...

joshua-arch1 via All-commits all-commits at lists.llvm.org
Thu Aug 1 20:31:04 PDT 2024


  Branch: refs/heads/users/joshua/zext
  Home:   https://github.com/llvm/llvm-project
  Commit: 39914378ec2d3358a328d5c223a8559ca34d3532
      https://github.com/llvm/llvm-project/commit/39914378ec2d3358a328d5c223a8559ca34d3532
  Author: Jun Sha (Joshua) <cooper.joshua at linux.alibaba.com>
  Date:   2024-08-02 (Fri, 02 Aug 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
    M llvm/test/CodeGen/RISCV/rv32xtheadbb.ll
    M llvm/test/CodeGen/RISCV/rv64xtheadbb.ll

  Log Message:
  -----------
  [RISCV] Use zext.b/zext.h/zext.w instead of th.extu for bitfieldn extraction

We prefer not to do the extu optimization in https://github.com/llvm/
llvm-project/commit/10b7cd660c73f704ad8610828e80b33c241451df if we
can directly use one zext.b/zext.h/zext.w instruction with zba/zbb
extension, since we always give preference to standard extension
instead of vendor extension.



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