[PATCH] D109729: [RISCV] Optimize (add (shl x, c0), (shl y, c1))

Ben Shi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 13 21:12:14 PDT 2021


benshi001 added a comment.

Using `let PredicateCodeUsesOperands = 1` makes code more boring and complex. So I have resorted to using DAG2GAG selection which looks more clear.


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

https://reviews.llvm.org/D109729



More information about the llvm-commits mailing list