diff options
author | JF Bastien <jfb@google.com> | 2015-07-10 18:13:17 +0000 |
---|---|---|
committer | JF Bastien <jfb@google.com> | 2015-07-10 18:13:17 +0000 |
commit | b73a2ed20ea235e0e52f1088c91b6ecebd0c8722 (patch) | |
tree | 4a825b72d251c861a92fbe721dff96a1d0c84889 /llvm/lib/Transforms/Utils/LoopVersioning.cpp | |
parent | a4a3182dedbf53ffff977ddcd2ad95b91908f046 (diff) | |
download | llvm-b73a2ed20ea235e0e52f1088c91b6ecebd0c8722.zip llvm-b73a2ed20ea235e0e52f1088c91b6ecebd0c8722.tar.gz llvm-b73a2ed20ea235e0e52f1088c91b6ecebd0c8722.tar.bz2 |
Target RegisterInfo: devirtualize TargetFrameLowering
Summary:
The target frame lowering's concrete type is always known in RegisterInfo, yet it's only sometimes devirtualized through a static_cast. This change adds an auto-generated static function <Target>GenRegisterInfo::getFrameLowering(const MachineFunction &MF) which does this devirtualization, and uses this function in all targets which can.
This change was suggested by sunfish in D11070 for WebAssembly, I figure that I may as well improve the other targets while I'm here.
Subscribers: sunfish, ted, llvm-commits, jfb
Differential Revision: http://reviews.llvm.org/D11093
llvm-svn: 241921
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopVersioning.cpp')
0 files changed, 0 insertions, 0 deletions