[llvm-commits] Review request: remove useless stores from mem2reg

Nick Lewycky nicholas at mxc.ca
Sun Nov 21 23:45:00 PST 2010


Cameron Zwarich wrote:
> There is a set of inserted phis in PromoteMemoryToRegister.cpp that is maintained but never actually used anywhere. Removing it gives me a 1.2% speedup running mem2reg on test-suite, although some of this may just be due to random code motion in memory.

Great catch, please commit!

Nick



More information about the llvm-commits mailing list