Handles f16 atomics for AMDGPU.
Details
Diff Detail
Event Timeline
llvm/lib/CodeGen/AtomicExpandPass.cpp | ||
---|---|---|
617 | Spanish Inquisition bug: "four fields" |
Can you add a simple test to llvm/test/Transforms/AtomicExpand/SPARC/partword.ll for fadd, since that's where the other "generic" tests of this code live.
llvm/lib/CodeGen/AtomicExpandPass.cpp | ||
---|---|---|
824 | Same code as section above. Merge the two and update comment. | |
843–848 | This shifted value isn't actually used for the existing min/max/umin/umax -- nor the new fadd/fsub/fmin/fmax support. Perhaps we should just avoid creating it when it's unneeded? |
(Actually I'm not sure if 'half' can be codegened at all on that target...so maybe that's not possible. But if it is it would be nice.)
Spanish Inquisition bug: "four fields"