[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 09:21:31 PST 2021


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

Avoid optimization if inner instruction is GEP.
Added test.


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.315165.patch
Type: text/x-patch
Size: 6131 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210107/d981108f/attachment.bin>


More information about the llvm-commits mailing list