[all-commits] [llvm/llvm-project] d32ed9: [RISCV] Use a ComplexPattern to merge the PatFrags...
    Craig Topper via All-commits 
    all-commits at lists.llvm.org
       
    Fri Feb 12 14:04:40 PST 2021
    
    
  
  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d32ed9b27e99e1364dd92f7d8aa8d1d0d3cd17ed
      https://github.com/llvm/llvm-project/commit/d32ed9b27e99e1364dd92f7d8aa8d1d0d3cd17ed
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2021-02-12 (Fri, 12 Feb 2021)
  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
    M llvm/lib/Target/RISCV/RISCVISelDAGToDAG.h
    M llvm/lib/Target/RISCV/RISCVInstrInfo.td
  Log Message:
  -----------
  [RISCV] Use a ComplexPattern to merge the PatFrags for removing unneeded masks on shift amounts.
Rather than having patterns with and without an AND, use a
ComplexPattern to handle both cases.
Reduces the isel table by about 700 bytes.
    
    
More information about the All-commits
mailing list