[PATCH] D50039: [FunctionAttrs] Added nonnull atribute to libc function args

Dávid Bolvanský via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Oct 14 13:48:45 PDT 2018


xbolva00 added inline comments.


================
Comment at: lib/Transforms/IPO/FunctionAttrs.cpp:636
+  bool Changed = false;
+  BasicBlock &Entry = F.getEntryBlock();
+  LibFunc Func;
----------------
As a possible follow up for FunctionAttrs, is there any interest to implement TODO comment (check for post-dominance, be unrestricted to just entry block)?  


https://reviews.llvm.org/D50039





More information about the llvm-commits mailing list