[SPIR-V] Support memory(...) function attributes
authorMichal Paszkowski <michal.paszkowski@outlook.com>
Mon, 19 Dec 2022 18:36:32 +0000 (19:36 +0100)
committerMichal Paszkowski <michal.paszkowski@outlook.com>
Mon, 19 Dec 2022 18:36:32 +0000 (19:36 +0100)
commitb0020f423feb922c35802af96234c5d21b8d3f51
treeb876997d529ef8825c3c8186375e4a4f9e80c8d2
parent3a26a650821dda1892cc47d8c5e87ea4bef6a027
[SPIR-V] Support memory(...) function attributes

Adds support for memory(...) function attributes in SPIR-V function
control info lowering.

Differential Revision: https://reviews.llvm.org/D139133
llvm/lib/Target/SPIRV/SPIRVCallLowering.cpp
llvm/test/CodeGen/SPIRV/function/trivial-function-with-attributes.ll