llvm-project
bb7e5597 - [AMDGPU] Correct bitshift legality transformation for small vectors (#140940)

Commit
134 days ago
[AMDGPU] Correct bitshift legality transformation for small vectors (#140940) Fix for a bug found by the AMD fuzzing project. The legaliser would originally try to widen a small vector such as `<4 x i1>` to a single `i16` during the legalisation of bitshifts, as it was not originally written with consideration for vector operands. This patch simply adds a guard to prohibit this transformation and allow other legalisation transformations to step in.
Author
Parents
Loading