[PATCH] D156029: [InstCombine] icmp udiv transform

Maksim Kita via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Jul 22 07:57:54 PDT 2023


kitaisreal created this revision.
kitaisreal added a reviewer: nikic.
kitaisreal added projects: All, LLVM.
Herald added subscribers: StephenFan, hiraditya.
kitaisreal requested review of this revision.
Herald added a subscriber: llvm-commits.

Transform icmp udiv into simpler instructions.
https://github.com/llvm/llvm-project/issues/55695.
Depends D156028 <https://reviews.llvm.org/D156028>.


https://reviews.llvm.org/D156029

Files:
  llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
  llvm/test/Transforms/InstCombine/icmp-add.ll
  llvm/test/Transforms/InstCombine/icmp-div-constant.ll
  llvm/test/Transforms/InstCombine/icmp-ext-ext.ll
  llvm/test/Transforms/InstCombine/icmp-select.ll
  llvm/test/Transforms/InstCombine/icmp-udiv.ll
  llvm/test/Transforms/InstCombine/icmp.ll
  llvm/test/Transforms/InstCombine/unsigned-mul-lack-of-overflow-check-via-mul-udiv.ll
  llvm/test/Transforms/InstCombine/unsigned-mul-lack-of-overflow-check-via-udiv-of-allones.ll
  llvm/test/Transforms/InstCombine/unsigned-mul-overflow-check-via-mul-udiv.ll
  llvm/test/Transforms/InstCombine/unsigned-mul-overflow-check-via-udiv-of-allones.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D156029.543191.patch
Type: text/x-patch
Size: 51553 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230722/20df08db/attachment.bin>


More information about the llvm-commits mailing list