AMDGPU: Fix using wrong offsets for global atomic fadd intrinsics
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Sat, 15 Aug 2020 02:19:22 +0000 (22:19 -0400)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Mon, 17 Aug 2020 13:19:15 +0000 (09:19 -0400)
commite0375dbcb39bdd5fa9f8288f9149df256003e06b
treea7c38e9268460bbacf3926bf4b59c71921ea6d4a
parent168213f91c571352c56f432573513cba3f9ba61b
AMDGPU: Fix using wrong offsets for global atomic fadd intrinsics

Global instructions have the signed offsets.
llvm/lib/Target/AMDGPU/FLATInstructions.td
llvm/test/CodeGen/AMDGPU/llvm.amdgcn.atomic.fadd.ll