[llvm-commits] [llvm] r151751 - /llvm/trunk/utils/TableGen/RegisterInfoEmitter.cpp
Jakob Stoklund Olesen
stoklund at 2pi.dk
Wed Feb 29 16:54:00 PST 2012
On Feb 29, 2012, at 3:09 PM, Benjamin Kramer wrote:
> Would it make sense to implement getSubRegIndex as a linear search on this table? The lines are small (30 * uint16_t) and the method is not very hot as far as I know. It would eliminate another giant switch.
Yes. The only clients are AggressiveAntiDepBreaker which doesn't run by default, and copyprop.
/jakob
More information about the llvm-commits
mailing list