[PATCH] D93995: [InstSimplify] Fold division by zero to poison

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jan 3 11:54:12 PST 2021


This revision was automatically updated to reflect the committed changes.
Closed by commit rG766cf7f32e4f: [InstSimplify] Fold division by zero to poison (authored by nikic).

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D93995

Files:
  llvm/lib/Analysis/InstructionSimplify.cpp
  llvm/test/Transforms/InstCombine/add-shl-sdiv-to-srem.ll
  llvm/test/Transforms/InstCombine/div.ll
  llvm/test/Transforms/InstCombine/icmp-div-constant.ll
  llvm/test/Transforms/InstCombine/inselt-binop-inseltpoison.ll
  llvm/test/Transforms/InstCombine/inselt-binop.ll
  llvm/test/Transforms/InstCombine/rem.ll
  llvm/test/Transforms/InstCombine/sdiv-exact-by-negative-power-of-two.ll
  llvm/test/Transforms/InstCombine/sdiv-exact-by-power-of-two.ll
  llvm/test/Transforms/InstCombine/shift.ll
  llvm/test/Transforms/InstCombine/vector-udiv.ll
  llvm/test/Transforms/InstCombine/vector-urem.ll
  llvm/test/Transforms/InstSimplify/div.ll
  llvm/test/Transforms/InstSimplify/rem.ll
  llvm/test/Transforms/InstSimplify/undef.ll
  llvm/test/Transforms/SLPVectorizer/X86/alternate-int-inseltpoison.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D93995.314297.patch
Type: text/x-patch
Size: 20788 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210103/01be1b4d/attachment.bin>


More information about the llvm-commits mailing list