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

Jessica Clarke via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 10 05:43:07 PDT 2021


jrtc27 added inline comments.


================
Comment at: llvm/test/CodeGen/RISCV/addimm-mulimm.ll:214
+; RV32IM-NEXT:    addi a0, a0, 1000
 ; RV32IM-NEXT:    sh3add a1, a0, a0
 ; RV32IM-NEXT:    sh3add a0, a1, a0
----------------
Why are RV32IM check lines, in a file whose name and path don't say bitmanip, mentioning bitmanip instructions?


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

https://reviews.llvm.org/D107711



More information about the llvm-commits mailing list