[all-commits] [llvm/llvm-project] 9b92ae: [RISCV] Store Log2 of EEW in the vector load/store...

Craig Topper via All-commits all-commits at lists.llvm.org
Mon Jun 7 15:48:43 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9b92ae01ee57e332e52d14c073fa3235498a9f2c
      https://github.com/llvm/llvm-project/commit/9b92ae01ee57e332e52d14c073fa3235498a9f2c
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2021-06-07 (Mon, 07 Jun 2021)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
    M llvm/lib/Target/RISCV/RISCVISelDAGToDAG.h
    M llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td

  Log Message:
  -----------
  [RISCV] Store Log2 of EEW in the vector load/store intrinsic to pseudo lookup tables. NFCI

This uses 3 bits of data instead of 7. I'm wondering if we can use
bitfields for the lookup table key where this would matter.

I also name the shift_amount template to log2 since it is used
with more than just an srl now.




More information about the All-commits mailing list