[PATCH] D139598: [InstCombine] Fold (X << Z) / (X * Y) -> (1 << Z) / Y

Chenbing.Zheng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 27 23:56:36 PST 2022


Chenbing.Zheng updated this revision to Diff 485465.
Chenbing.Zheng added a comment.

address comment


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D139598

Files:
  llvm/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
  llvm/test/Transforms/InstCombine/div-shift.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D139598.485465.patch
Type: text/x-patch
Size: 4365 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221228/408b25bd/attachment.bin>


More information about the llvm-commits mailing list