[PATCH] D106189: [InstSimplify] Expose generic interface for replaced operand simplification

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 19 15:01:37 PDT 2021


lebedev.ri accepted this revision.
lebedev.ri added a comment.

Not sure if it makes sense to commit some parts of this separately, maybe not.



================
Comment at: llvm/lib/Analysis/InstructionSimplify.cpp:6221-6222
+                                             const SimplifyQuery &SQ,
+                                             OptimizationRemarkEmitter *ORE) {
+  return ::simplifyInstructionWithOperands(I, NewOps, SQ, ORE);
+}
----------------
assert(NewOps.size() == I.getNumOperands() && "");


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D106189/new/

https://reviews.llvm.org/D106189



More information about the llvm-commits mailing list