[all-commits] [llvm/llvm-project] 744be8: [RISCV] Lower riscv_zip/unzip intrinsic to RISCVIS...

Craig Topper via All-commits all-commits at lists.llvm.org
Sun Jan 30 13:32:20 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 744be8c5028d6190421f8879e07c8e57fd8bba9b
      https://github.com/llvm/llvm-project/commit/744be8c5028d6190421f8879e07c8e57fd8bba9b
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2022-01-30 (Sun, 30 Jan 2022)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/lib/Target/RISCV/RISCVInstrInfoZb.td

  Log Message:
  -----------
  [RISCV] Lower riscv_zip/unzip intrinsic to RISCVISD::SHFL/UNSHFL.

These are special versions of the more general shfli/unshfli
instructions. We can use the general ISD opcodes with the correct
immediates.




More information about the All-commits mailing list