[PATCH] D147137: [InstSimplify] Extend handlng of fp min/max.

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 5 01:40:10 PDT 2023


RKSimon added inline comments.


================
Comment at: llvm/lib/Analysis/InstructionSimplify.cpp:6132
+static Value *foldMinimumMaximumSharedOp(Intrinsic::ID IID, Value *Op0,
+                                         Value *Op1) {
+  auto *M0 = dyn_cast<IntrinsicInst>(Op0);
----------------
assert that IID is one of the min/max intrinsic IDs?


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

https://reviews.llvm.org/D147137



More information about the llvm-commits mailing list