[PATCH] D64328: [AMDGPU] Optimize atomic max/min

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 16 10:00:48 PDT 2019


arsenm accepted this revision.
arsenm added inline comments.
This revision is now accepted and ready to land.


================
Comment at: llvm/lib/Target/AMDGPU/AMDGPUAtomicOptimizer.cpp:276
+    return APInt::getSignedMaxValue(BitWidth);
+  }
+}
----------------
As a future step you can handle and/or/xor


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D64328





More information about the llvm-commits mailing list