[PATCH] D61604: [InstCombine] sink FP negation of operands through select

Cameron McInally via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 6 11:26:55 PDT 2019


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

LGTM.



================
Comment at: llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp:347
+  }
+
   // Only handle binary operators (including two-operand getelementptr) with
----------------
Do you know what pass needs updating so that we can use the UnOp form? I could work on that next...

If you don't know, that's fine. I can dig it up.


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

https://reviews.llvm.org/D61604





More information about the llvm-commits mailing list