[all-commits] [llvm/llvm-project] 7c9bbb: [RISCV] Rename RISCVISD::SHFLI to RISCVISD::SHFL a...

Craig Topper via All-commits all-commits at lists.llvm.org
Mon Apr 12 23:47:10 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7c9bbbf7358cfa036c3d53eeb27be04bdfc7ba5b
      https://github.com/llvm/llvm-project/commit/7c9bbbf7358cfa036c3d53eeb27be04bdfc7ba5b
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2021-04-12 (Mon, 12 Apr 2021)

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

  Log Message:
  -----------
  [RISCV] Rename RISCVISD::SHFLI to RISCVISD::SHFL and don't require the second operand to be an immediate.

Prep work for adding intrinsics in the future.

Left an assert that the input is constant in ReplaceNodeResults,
as the intrinsic shouldn't go through that path.




More information about the All-commits mailing list