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

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 16 10:53:13 PDT 2019


foad marked an inline comment as done.
foad added inline comments.


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


Repository:
  rL LLVM

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

https://reviews.llvm.org/D64328





More information about the llvm-commits mailing list