nruslan marked an inline comment as done. nruslan added a comment. @hans, @MatzeB : I have updated the diff (added the test case for variable-sized alloca). Please let me know if it looks good now. https://reviews.llvm.org/D43107