Add a basic implementation of isExtractSubvectorCheap that only
considers extracts at offset 0.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
This doesn't affect any current lit tests but does fix a code quality regression in D127115.
llvm/lib/Target/AMDGPU/SIISelLowering.cpp | ||
---|---|---|
1589 | For VGPRs I think any extract starting at a dword boundary should be cheap, but for SGPRs it would need to start at a suitably aligned register number. So I don't know how to implement this. |
Comment Actions
@foad do you have commit rights? Do you need me to push this for you?
Yes. No. I was just waiting for further comments.
For VGPRs I think any extract starting at a dword boundary should be cheap, but for SGPRs it would need to start at a suitably aligned register number. So I don't know how to implement this.