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

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 8 07:36:42 PDT 2019


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


================
Comment at: llvm/test/CodeGen/AMDGPU/atomic_optimizations_local_pointer.ll:240
+  ret void
+}
----------------
arsenm wrote:
> Can you add tests for i64?
Will do, though I'm little nervous of both (a) the combinatorial explosion of unit tests ({add,sub,max,min,umax,umin} x {i32,i64} x {constant,uniform,varying} x {buffer,rawbuffer,structbuffer,localpoint,globalpointer} ...) and (b) the lack of any end-to-end tests to check that the optimization is actually doing the right thing and computing the right result.


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