[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
Tue May 22 07:44:04 PDT 2018


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

Changing 'dyn_cast_or_null' to 'dyn_cast' in two places where the operator cannot be null.


Repository:
  rL LLVM

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.148005.patch
Type: text/x-patch
Size: 18442 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180522/5b748904/attachment.bin>


More information about the llvm-commits mailing list