It's possible to have resource descriptors and samplers stored in
VGPRs, either by a VMEM instruction or in the case of samplers,
floating-point calculations. When this happens, we need to use
v_readfirstlane to copy these values back to sgprs.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
LGTM
lib/Target/AMDGPU/SIInstrInfo.cpp | ||
---|---|---|
1948 ↗ | (On Diff #47529) | I think the name of this should be changed to not say copy, and involve readline. readlaneToSGPR? |