[PATCH] D34311: [InstCombine] Don't replace allocas with globals if we can't prove that it's large enough.

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 22 12:30:29 PDT 2017


efriedma added a comment.

There's a isDereferenceableAndAlignedPointer helper which does this sort of check.  See also https://reviews.llvm.org/D34467.


https://reviews.llvm.org/D34311





More information about the llvm-commits mailing list