HomePhabricator

AMDGPU/GlobalISel: Fix move s.buffer.load to VALU

Authored by arsenm on Jan 31 2020, 7:22 PM.

Description

AMDGPU/GlobalISel: Fix move s.buffer.load to VALU

We were executing this in a waterfall loop as a placeholder, but this
should really be converted to a MUBUF load. Also execute in a
waterfall loop if the resource isn't an SGPR. This is a case where the
DAG handling was wrong because doing the right thing was too hard.

Currently, this will mishandle 96-bit loads. There's currently no way
to track the original memory size with an MMO, so these loads will be
widened andd the resulting memory size will be 128-bits.

Details

Committed
arsenmFeb 7 2020, 7:19 AM
Parents
rG5c6b1a6dfdb4: [TableGen] Fix spurious type error in bit assignment.
Branches
Unknown
Tags
Unknown