[AMDGPU] Simplify SITargetLowering::isSDNodeSourceOfDivergence. NFC.
authorJay Foad <jay.foad@amd.com>
Mon, 1 Mar 2021 10:20:54 +0000 (10:20 +0000)
committerJay Foad <jay.foad@amd.com>
Mon, 1 Mar 2021 14:22:08 +0000 (14:22 +0000)
commit48ca5d3398be7b9925d76d72bde0e4bc19c34245
tree71e06a026a376c2dad09bb678b9a8705a55154b8
parent361cfdf2284193365f2830008625975f55112428
[AMDGPU] Simplify SITargetLowering::isSDNodeSourceOfDivergence. NFC.

Check for read-modify-write AtomicSDNodes instead of using an exhaustive
list of ISD opcodes.

Differential Revision: https://reviews.llvm.org/D97671
llvm/lib/Target/AMDGPU/SIISelLowering.cpp