Displaying 1 result from an estimated 1 matches for "getinstrmappings".
Did you mean:
getinstrmapping
2016 Jul 28
1
[GlobalISel] Can we drop RegisterBankInfo::getInstrAlternativeMappings() ?
...time playing around with GlobalISel on the AMDGPU target, and I
was wondering if there is any reason to have
RegisterBankInfo::getInstrAlternativeMappings() and
RegisterBankInfo::getInstrMapping() as separate functions.
Could we instead replace these two functions with just one:
RegisterBankInfo::getInstrMappings() and then just treat the first mapping
in the list as the 'default' mapping to use for 'Fast' RegBankSelect mode?
The reason this would make sense (at least for the AMDGPU target) is
because both functions need to do the exact same analysis in order
to compute the cost and order f...