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

Johannes Doerfert via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 16 14:54:21 PDT 2021


jdoerfert planned changes to this revision.
jdoerfert added a comment.

Working on the alternative



================
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);
----------------
lebedev.ri wrote:
> Should this be ArrayRef?
Yes.


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