diff options
author | Geoff Berry <gberry@codeaurora.org> | 2015-12-29 18:10:16 +0000 |
---|---|---|
committer | Geoff Berry <gberry@codeaurora.org> | 2015-12-29 18:10:16 +0000 |
commit | 43dc285915f571e7a1e22a15468676006125bc9c (patch) | |
tree | 73a2edd809d1d828f5bc5443a4d42dcf41abbc10 /llvm/lib/CodeGen/MachineFunction.cpp | |
parent | 755baa405065d2264a692467bab5702f83f0c570 (diff) | |
download | llvm-43dc285915f571e7a1e22a15468676006125bc9c.zip llvm-43dc285915f571e7a1e22a15468676006125bc9c.tar.gz llvm-43dc285915f571e7a1e22a15468676006125bc9c.tar.bz2 |
[JumpThreading] Fix opcode bonus in getJumpThreadDuplicationCost()
The code that was meant to adjust the duplication cost based on the
terminator opcode was not being executed in cases where the initial
threshold was hit inside the loop.
Subscribers: mcrosier, llvm-commits
Differential Revision: http://reviews.llvm.org/D15536
llvm-svn: 256568
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions