[PATCH] D100769: [RISCV] Refactor an optimization of addition with immediate
    Ben Shi via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Mon Apr 19 23:30:52 PDT 2021
    
    
  
benshi001 added a comment.
I have removed the ADDIW parts, this patch is simply a refactoring of the oringal optimization, changeing from DAG to TD. There is no extra test needed, since llvm/test/codegen/riscv/add-imm.ll has covered all cases.
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D100769/new/
https://reviews.llvm.org/D100769
    
    
More information about the llvm-commits
mailing list