ac/llvm: fix atomic var operations if source isn't a deref
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 2 Dec 2019 13:58:00 +0000 (14:58 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 3 Dec 2019 08:41:33 +0000 (09:41 +0100)
commitf63a3132e8cf660c22bc9943535e264ba91f63eb
tree3a51974d2d1f32aa6cb4adeb05393ad5a0a826b5
parentdde734030bcdac40e63a0b251903c0281db170ee
ac/llvm: fix atomic var operations if source isn't a deref

Fixes some CTS regressions.

Fixes: e61a826f396 ("ac/llvm: fix pointer type for global atomics")
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/llvm/ac_nir_to_llvm.c