[PATCH] D53098: [InstCombine] Avoid instruction sinking if not profitable for other passes

Dávid Bolvanský via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 11 12:40:40 PDT 2018


xbolva00 abandoned this revision.
xbolva00 added a comment.

Ok, the problem I have is not related with sinking. Closing this revision.

I want to mark call sites of C functions with nonnull attr. like "strlen (nonnull s)". But since EnableNonnullArgPropagation is disabled, the attrs are not promoted to parent function arguments. And that's the reason why my motivating example from PR39119 with strcmp is not optimized :(


https://reviews.llvm.org/D53098





More information about the llvm-commits mailing list