aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/LoopVersioning.cpp
diff options
context:
space:
mode:
authorJF Bastien <jfb@google.com>2015-07-10 18:13:17 +0000
committerJF Bastien <jfb@google.com>2015-07-10 18:13:17 +0000
commitb73a2ed20ea235e0e52f1088c91b6ecebd0c8722 (patch)
tree4a825b72d251c861a92fbe721dff96a1d0c84889 /llvm/lib/Transforms/Utils/LoopVersioning.cpp
parenta4a3182dedbf53ffff977ddcd2ad95b91908f046 (diff)
downloadllvm-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