HomePhabricator

AMDGPU: Fix ubsan error

Authored by arsenm on Jan 23 2020, 11:10 AM.

Description

AMDGPU: Fix ubsan error

Since register classes go up to 1024, 32 elements, all masks bits are
needed and a 32-bit shift by 32 is illegal. We didn't have any
instructions theoretically using a 32 element VGPR before
d1dbb5e4718a8f845abf0783513a33a55429470b

Details