[PATCH] D22710: Add option to CodeExtractor for hoisting dominated static allocas
Sean Silva via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 27 04:06:29 PDT 2016
silvas added a comment.
Also, I'm not sure if you're using the terminology "static alloca" correct, as you seem to be using it to refer to simply constant size. An alloca must be in the entry block as well to be considered a static alloca:
/// isStaticAlloca - Return true if this alloca is in the entry block of the
/// function and is a constant size. If so, the code generator will fold it
/// into the prolog/epilog code, so it is basically free.
bool isStaticAlloca() const;
https://reviews.llvm.org/D22710
More information about the llvm-commits
mailing list