[PATCH] D34905: Modify constraints in `llvm::canReplaceOperandWithVariable`

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


aoli added a comment.

As we metioned in https://reviews.llvm.org/D34921. Should `canReplaceOperandWithVariable` only return false if `isStaticAlloca` is true for `Instruction::Alloca` here?


https://reviews.llvm.org/D34905





More information about the llvm-commits mailing list