[PATCH] D133188: [InstCombine] extractvalue (any_mul_with_overflow X, 2^n), 0 -> X << n

Chenbing.Zheng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Sep 4 20:05:34 PDT 2022


Chenbing.Zheng updated this revision to Diff 457883.
Chenbing.Zheng retitled this revision from "[InstCombine] extractvalue (umul_with_overflow X, 2^n), 0 -> X << n" to "[InstCombine] extractvalue (any_mul_with_overflow X, 2^n), 0 -> X << n".
Chenbing.Zheng edited the summary of this revision.
Chenbing.Zheng added a comment.

add smul support


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

https://reviews.llvm.org/D133188

Files:
  llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
  llvm/test/Transforms/InstCombine/with_overflow.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D133188.457883.patch
Type: text/x-patch
Size: 6320 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220905/fe4f9e7a/attachment.bin>


More information about the llvm-commits mailing list