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

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 16 14:16:12 PDT 2021


lebedev.ri added inline comments.


================
Comment at: llvm/include/llvm/Analysis/InstructionSimplify.h:326
+/// (e.g. 0 instead of poison), or whether it needs to be strictly identical.
+Value *simplifyWithOpsReplaced(Value *V, SmallVectorImpl<Value *> &NewOps,
+                               const SimplifyQuery &Q, bool AllowRefinement);
----------------
Should this be ArrayRef?


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