[PATCH] D102711: [GlobalOpt] Handle null check with global pointer variables

Shimin Cui via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 20 08:51:27 PDT 2021


scui updated this revision to Diff 360159.
scui added a comment.

Exclude the signed null checks, and correct the handling of UGE.


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

https://reviews.llvm.org/D102711

Files:
  llvm/lib/Transforms/IPO/GlobalOpt.cpp
  llvm/test/Transforms/GlobalOpt/malloc-promote-4.ll
  llvm/test/Transforms/GlobalOpt/null-check-is-use-pr35760.ll
  llvm/test/Transforms/GlobalOpt/null-check-not-use-pr35760.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D102711.360159.patch
Type: text/x-patch
Size: 8446 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210720/65399c89/attachment.bin>


More information about the llvm-commits mailing list