If we were to have an operation with an s16 def that needs to be
executed in a waterfall loop, not having s16 legal would place an
avoidable burden on RegBankSelect to widen it.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
I don't know if I understand all the impliciations, but the diffs look fine to me.
llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp | ||
---|---|---|
446 | It doesn't really matter but this seems like an odd place to insert "S16" into the list. |
llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp | ||
---|---|---|
446 | This should probably be replaced with legalIf(isRegisterType(0)) but I'm planning a larger rewrite of all of this stuff |
It doesn't really matter but this seems like an odd place to insert "S16" into the list.