On Mon, Oct 5, 2015 at 4:04 PM, Xiangyang Guo <eceguo at gmail.com> wrote: > PM.add(createPromoteMemoryToRegisterPass()) > Did you include "Mem2Reg.cpp"? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20151005/5d06d2c7/attachment.html>