[SPIR-V] Add atomic_init and fix atomic explicit lowering
authorMichal Paszkowski <michal.paszkowski@outlook.com>
Wed, 19 Oct 2022 20:12:07 +0000 (22:12 +0200)
committerMichal Paszkowski <michal.paszkowski@outlook.com>
Wed, 19 Oct 2022 20:13:29 +0000 (22:13 +0200)
commit5fb4a051485a82e5cc16cf71b9a6089792d5446f
tree29775b5ec2d660bbb3916657f48ba050b85b08a2
parentd76566417e592cfac9c710f82575473b1b4a9285
[SPIR-V] Add atomic_init and fix atomic explicit lowering

Differential Revision: https://reviews.llvm.org/D135902
llvm/lib/Target/SPIRV/SPIRVBuiltins.cpp
llvm/lib/Target/SPIRV/SPIRVBuiltins.td
llvm/test/CodeGen/SPIRV/AtomicBuiltinsFloat.ll [new file with mode: 0644]