[PATCH] D96663: [InstCombine] Fold nonnull (select c,null,p) to nonnull p

Juneyoung Lee via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 23 22:02:26 PST 2021


aqjune updated this revision to Diff 325982.
aqjune added a comment.

Add a negative test


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D96663

Files:
  llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
  llvm/lib/Transforms/InstCombine/InstCombineInternal.h
  llvm/test/Transforms/InstCombine/assume-icmp-null-select.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D96663.325982.patch
Type: text/x-patch
Size: 5185 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210224/774d6b54/attachment.bin>


More information about the llvm-commits mailing list