You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix duplicate type declarations when using addXXXType api (#2216)
Duplicate declarations are non conformant with spec which rendered
current implementation of SPIRVModuleImpl::addXXXType useless for some types.
This commit is an easy fix for bool, float and void.
Integer is changed from std::map to SmallDenseMap with 4 inlined buckets.
Most of the time Integer will only have 8, 16, 32 and 64 bitwidth so it's
much more efficient to use this specialized map.
Original commit:
KhronosGroup/SPIRV-LLVM-Translator@4d65d27
0 commit comments