KhronosGroup/SPIRV-LLVM

Wrong encoding of memory scope and memory semantics.

Closed this issue · 1 comments

bader commented

According to SPIR-V specification, Scope and memory semantics "Must be an of a 32-bit integer scalar that contains a mask."
Translator encodes them as literals instead of IDs.

I believe this pull request should address all cases: #121