[PATCH] D13363: [DeadStoreElimination] Add support for non-local DSE

Ivan Baev via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 10 17:50:50 PST 2015


ivanbaev added a comment.

Hi Chad, thanks for helping with that. Is compile-time increase the remaining problem?
One quick fix could be to change 100  to 10 for the max number on non-local attempts in a function:

  static const unsigned MaxNonLocalAttempts = 100;

We've chosen 100 arbitrarily. The newly added DSE tests should pass with 10.

Ivan


Repository:
  rL LLVM

http://reviews.llvm.org/D13363





More information about the llvm-commits mailing list