[PATCH] D34921: [ConstantHoisting] Remove dupliate logic in constant hoisting

Leo Li via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 5 16:47:05 PDT 2017


aoli added a comment.

if we call `isStaticAlloca` in `canReplaceOperandWithVariable` it is still possible to turn a constant-size stack allocation into a variable-size stack allocation in SimplifyCFG. Is that ok?


https://reviews.llvm.org/D34921





More information about the llvm-commits mailing list