llvm-project
8d60471f - [SPIR-V] Fix correction shift for i8 bitreverse in shader mode (#203829)

Commit
27 days ago
[SPIR-V] Fix correction shift for i8 bitreverse in shader mode (#203829) selectBitreverse16 hardcoded the post-reverse shift to 16, but it also handles i8, where the reversed bits land in [31:24] and a shift of 16 truncated to always 0 Compute the shift as `32 - bitwidth` instead
Author
Parents
Loading