SIInstrInfo::legalizeOperands was assuming that it never sees an addr64
MUBUF in a shader. But it is generated from a global load, which LLPC
uses for a load from a read-only global variable.
Fixed to detect the addr64 case, and then legalize in the same way as in
compute.
Change-Id: I8aee2a0dc37d2061de445c30c7510e40b3e52f3c
OK, so that check doesn't actually work. I'll push a revised fix in a bit.