summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Utils/LowerSwitch.cpp
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2014-04-25 04:38:27 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2014-04-25 04:38:27 +0000
commit5291d2a561fca6e3d7778b06e32888808740b445 (patch)
tree3524cacc575a71c98525540d75d9be7c071028aa /llvm/lib/Transforms/Utils/LowerSwitch.cpp
parent0633f0ec2926e942989bd2593b0137e23886d651 (diff)
downloadbcm5719-llvm-5291d2a561fca6e3d7778b06e32888808740b445.tar.gz
bcm5719-llvm-5291d2a561fca6e3d7778b06e32888808740b445.zip
blockfreq: Scale LoopData::Scale on the way down
Rather than scaling loop headers and then scaling all the loop members by the header frequency, scale `LoopData::Scale` itself, and scale the loop members by it. It's much more obvious what's going on this way, and doesn't cost any extra multiplies. <rdar://problem/14292693> llvm-svn: 207189
Diffstat (limited to 'llvm/lib/Transforms/Utils/LowerSwitch.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud