[PATCH] D158648: InstCombine: Introduce SimplifyDemandedUseFPClass

Noah Goldstein via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 4 13:26:09 PDT 2023


goldstein.w.n added inline comments.


================
Comment at: llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp:1872
+      I->setOperand(2, I->getOperand(1));
+      return I;
+    }
----------------
Can you not just return `I->getOperand(1)` here and `I->getOperand(2)` above?


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

https://reviews.llvm.org/D158648



More information about the llvm-commits mailing list