[PATCH] D18155: Instcombine: try to avoid wasted work in ConstantFold

escha via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 15 21:54:51 PDT 2016


escha added a comment.

Yeah, I don't understand that part either!

Reordering them alone isn't enough because the slow part isn't the creation of a new simplified ConstExpr; it's running the simplify function, which takes time even if it ends up doing nothing, AFAIK.


Repository:
  rL LLVM

http://reviews.llvm.org/D18155





More information about the llvm-commits mailing list