[PATCH] D68408: [InstCombine] Negator - sink sinkable negations

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 21 10:49:15 PDT 2020


lebedev.ri updated this revision to Diff 259055.
lebedev.ri marked 11 inline comments as done.
lebedev.ri edited the summary of this revision.
lebedev.ri added a comment.

Updated: adjust comments, lambda name, guard `sdiv` with an artificial one-use-check.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D68408

Files:
  llvm/lib/Transforms/InstCombine/CMakeLists.txt
  llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp
  llvm/lib/Transforms/InstCombine/InstCombineInternal.h
  llvm/lib/Transforms/InstCombine/InstCombineNegator.cpp
  llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
  llvm/test/Transforms/InstCombine/and-or-icmps.ll
  llvm/test/Transforms/InstCombine/fold-sub-of-not-to-inc-of-add.ll
  llvm/test/Transforms/InstCombine/high-bit-signmask-with-trunc.ll
  llvm/test/Transforms/InstCombine/high-bit-signmask.ll
  llvm/test/Transforms/InstCombine/sub-of-negatible.ll
  llvm/test/Transforms/InstCombine/sub.ll
  llvm/test/Transforms/InstCombine/zext-bool-add-sub.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D68408.259055.patch
Type: text/x-patch
Size: 66911 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200421/1122ccfc/attachment.bin>


More information about the llvm-commits mailing list