[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 16:40:16 PDT 2021


benshi001 added a comment.

The reason I write both AddShlShl_1A and def AddShlShl_1B, is that add is not commutative in PatFrag.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D109729



More information about the llvm-commits mailing list