[PATCH] D139422: [AMDGPU] Accelerate SIRegisterInfo::getPhysRegClass
Carl Ritson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 6 05:50:54 PST 2022
critson added a comment.
Ideally this would be a static table, but the changes required to TableGen to understand register classes for this are non-trivial.
I am seeing >0.5% speed up in compile time with this change.
So the cost of computing the mapping appears negligible compared to the benefit.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D139422/new/
https://reviews.llvm.org/D139422
More information about the llvm-commits
mailing list