[PATCH] D62857: [RISCV] Prevent re-ordering some adds after shifts

Dávid Bolvanský via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 17 06:53:10 PDT 2019


xbolva00 added subscribers: craig.topper, lebedev.ri, xbolva00.
xbolva00 added a comment.

>> In future, DAGCombine could do the check to see whether c1 fits into an add immediate, which might simplify more targets hooks than just RISC-V.

Why not do this the right way already?

@lebedev.ri  @craig.topper


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D62857





More information about the llvm-commits mailing list