[PATCH] D94180: [SimplifyCFG] Optimize CFG when null is passed to a function with nonnull argument.

Dávid Bolvanský via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 7 02:59:18 PST 2021


xbolva00 updated this revision to Diff 315082.
xbolva00 added a comment.

Restrict to nonnull+noundef.
Handle GEPs.


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

https://reviews.llvm.org/D94180

Files:
  llvm/lib/Transforms/Utils/SimplifyCFG.cpp
  llvm/test/Transforms/SimplifyCFG/UnreachableEliminate.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D94180.315082.patch
Type: text/x-patch
Size: 5153 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210107/d5705f18/attachment.bin>


More information about the llvm-commits mailing list