[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 09:28:08 PDT 2021


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG0b043bb39bf0:  This patch extends the OptimizeGlobalAddressOfMalloc to handle the null checkā€¦ (authored by scui).

Changed prior to commit:
  https://reviews.llvm.org/D102711?vs=360159&id=360172#toc

Repository:
  rG LLVM Github Monorepo

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.360172.patch
Type: text/x-patch
Size: 8009 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210720/488b2113/attachment.bin>


More information about the llvm-commits mailing list