aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineFunction.cpp
diff options
context:
space:
mode:
authorJustin Bogner <mail@justinbogner.com>2014-04-10 18:13:13 +0000
committerJustin Bogner <mail@justinbogner.com>2014-04-10 18:13:13 +0000
commitf2ea775ed9ec93ac5402d226d1841443555e5421 (patch)
tree6f325b2c0f7b110f7571a4fd723a19cd422a9996 /llvm/lib/CodeGen/MachineFunction.cpp
parent582e4f74da8be623d3ca93a9cbb386184105b987 (diff)
downloadllvm-f2ea775ed9ec93ac5402d226d1841443555e5421.zip
llvm-f2ea775ed9ec93ac5402d226d1841443555e5421.tar.gz
llvm-f2ea775ed9ec93ac5402d226d1841443555e5421.tar.bz2
CodeGen: Move PGO initialization into Release()
Emitting the PGO initialization in EmitGlobalFunctionDefinition is inefficient, since this only has an effect once per module. We move this to Release() with the rest of the once-per-module logic. llvm-svn: 205977
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions