[PATCH] D150765: InstCombine: Fold select of ldexp to ldexp of select

Kevin P. Neal via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 9 08:39:19 PDT 2023


kpn added inline comments.


================
Comment at: llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp:3433
 
-  if (isa<FPMathOperator>(SI)) {
+  if (FPMathOperator *SelectFPOp = dyn_cast<FPMathOperator>(&SI)) {
     // TODO: Try to forward-propagate FMF from select arms to the select.
----------------
Is this leftover from a previous version of the patch?


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

https://reviews.llvm.org/D150765



More information about the llvm-commits mailing list