[PATCH] D46380: [InstSimplify] Adding safety checks for 'shl', 'ashr' and 'lshr'

Omer Paparo Bivas via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 14 08:35:43 PDT 2018


opaparo updated this revision to Diff 146621.
opaparo added a comment.

Removing safety checks for 'add', 'sub' and 'mul', since they require ValueTracking which proved to be too expensive in compile time.


https://reviews.llvm.org/D46380

Files:
  lib/Analysis/InstructionSimplify.cpp
  test/Transforms/InstCombine/select-bitext-bitwise-ops.ll
  test/Transforms/InstCombine/select-obo-peo-ops.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D46380.146621.patch
Type: text/x-patch
Size: 18458 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180514/fe0e8c3d/attachment.bin>


More information about the llvm-commits mailing list