Currently all images are lowered to have a single
image PseudoSourceValue. Image stores happen to have
overly strict mayLoad/mayStore/hasSideEffects flags
set on them, so this happens to work. When these
are fixed to be correct, the scheduler breaks
this because the identical PSVs are assumed to
be the same address. These need to be unique
to the image resource value.
Details
Details
Diff Detail
Diff Detail
rsrc is ArgOperand(2) if I'm reading IntrinsicsAMDGPU.td correctly.