[PATCH] D99027: [InstCombine] Whitelist non-refining folds in SimplifyWithOpReplaced

Juneyoung Lee via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Mar 21 19:51:28 PDT 2021


aqjune added inline comments.


================
Comment at: llvm/lib/Analysis/InstructionSimplify.cpp:3996
   // constant fold the instruction.
   SmallVector<Constant *, 8> ConstOps;
   for (Value *NewOp : NewOps) {
----------------
ok, looks good.


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

https://reviews.llvm.org/D99027



More information about the llvm-commits mailing list