Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Unit Tests
Event Timeline
Comment Actions
There is code in AMDGPURegisterBankInfo::applyMappingImpl to do that for VALU, but not for SALU. Would it be better to do it there for SALU too?
Comment Actions
Maybe this should just be a post-regbankselect combine. We don't want to have any other combines that need to create extensions to worry about this too
Comment Actions
Do you still think this should be done as a post-regbankselect combine instead? I really have no idea.
Comment Actions
I do think that could potentially enable other combines, but I'm not sure it needs to be exclusionary to also doing it in selection
s/0/AMDGPU::NoSubRegister