[PATCH] D156579: InstCombine: Fold fneg (ldexp x, n) -> ldexp (fneg x), n

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 15 02:15:06 PDT 2023


foad added inline comments.


================
Comment at: llvm/lib/Transforms/InstCombine/InstCombineInternal.h:395
 
+  Instruction *hoistFNegAboveFMulFDiv(Value *FNegOp, Instruction &FMFSource);
+
----------------
Function needs a comment and a better name, since it doesn't just handle fmul and fdiv now.


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

https://reviews.llvm.org/D156579



More information about the llvm-commits mailing list