[PATCH] D139309: InstCombine: Fold fabs (copysign x, y) -> fabs x

Kevin P. Neal via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 5 11:20:27 PST 2022


kpn accepted this revision.
kpn added a comment.
This revision is now accepted and ready to land.

LGTM



================
Comment at: llvm/include/llvm/IR/IRBuilder.h:946
+                           Instruction *FMFSource = nullptr,
+                           const Twine &Name = "") {
+    return CreateBinaryIntrinsic(Intrinsic::copysign, LHS, RHS, FMFSource,
----------------
This isn't used? Is it needed yet?


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

https://reviews.llvm.org/D139309



More information about the llvm-commits mailing list