[PATCH] D31194: [InstSimplify] Try to Constant Fold the Instruction before simplification
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 12 14:09:42 PDT 2017
craig.topper added a comment.
I wonder if you should just call ConstantFoldInstOperands where we currently call ConstantExpr::getElementPtr? I think that will try to constant fold it before falling back to ConstantExpr::getElementPtr.
Repository:
rL LLVM
https://reviews.llvm.org/D31194
More information about the llvm-commits
mailing list