[PATCH] D107711: [DAGCombiner] Add target hook function to decide folding (mul (add x, c1), c2)

Ben Shi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 10 19:12:38 PDT 2021


benshi001 added inline comments.


================
Comment at: llvm/test/CodeGen/RISCV/addimm-mulimm.ll:305
+; RV64IMB-NEXT:    addi a1, zero, 192
+; RV64IMB-NEXT:    mulw a0, a0, a1
 ; RV64IMB-NEXT:    ret
----------------
This regression will be fixed by D107708.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D107711/new/

https://reviews.llvm.org/D107711



More information about the llvm-commits mailing list