[PATCH] D142585: AMDGPU: Try to push fneg as integer into select

Pierre van Houtryve via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 8 03:05:14 PST 2023


Pierre-vh accepted this revision.
Pierre-vh added inline comments.
This revision is now accepted and ready to land.


================
Comment at: llvm/lib/Target/AMDGPU/SIISelLowering.cpp:9984
+        shouldFoldFNegIntoSrc(N, LHS)) {
+      SDLoc DL(N);
+      SDValue CastLHS =
----------------
Please add a small comment like in D142746 to show what the combine does


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

https://reviews.llvm.org/D142585



More information about the llvm-commits mailing list