aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorDaniel Jasper <djasper@google.com>2015-04-07 16:42:35 +0000
committerDaniel Jasper <djasper@google.com>2015-04-07 16:42:35 +0000
commite87e82bf797afb08bba6ecf2b15a4bc82de6a4a0 (patch)
tree58048ebdac1b172acb1cd12fc93503d593e94ab3 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parentda2969fca742814cc736dde95ceef70d300cf6c1 (diff)
downloadllvm-e87e82bf797afb08bba6ecf2b15a4bc82de6a4a0.zip
llvm-e87e82bf797afb08bba6ecf2b15a4bc82de6a4a0.tar.gz
llvm-e87e82bf797afb08bba6ecf2b15a4bc82de6a4a0.tar.bz2
Cleanup register pressure calculation in MachineLICM.
There were four almost identical implementations of calculating/updating the register pressure for a certain MachineInstr. Cleanup to have a single implementation (well, controlled with two bool flags until this is cleaned up more). No functional changes intended. Tested by verify that there are no binary changes in the entire llvm test-suite. A new test was added separately in r234309 as it revealed a pre-existing error in the register pressure calculation. llvm-svn: 234325
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions