HomePhabricator

AMDGPU/GlobalISel: Fix crash on wide constant load with VGPR pointer

Description

AMDGPU/GlobalISel: Fix crash on wide constant load with VGPR pointer

This was ignoring the register bank of the input pointer, and
isUniformMMO seems overly aggressive.

This will now conservatively assume a VGPR in cases where the incoming
bank hasn't been determined yet (i.e. is from a loop phi).

Details

Committed
arsenmOct 9 2019, 3:44 PM
Parents
rL374254: AMDGPU: Relax register classes used
Branches
Unknown
Tags
Unknown