[PATCH] D101944: [X86][Codegen] Shift amount mod: sh? i64 x, (32-y) --> sh? i64 x, -(y+32)

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 11 09:24:22 PDT 2021


spatel accepted this revision.
spatel added a comment.
This revision is now accepted and ready to land.

hasOneUse() protects against regression. The other cases look neutral or better, so LGTM.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D101944



More information about the llvm-commits mailing list