summaryrefslogtreecommitdiff
path: root/lib/Transforms/Utils/CodeExtractor.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
commit58aa6072058b4dd086c503362c3fa467568c4cfe (patch)
tree0c0c4a9cc8991f2c35b9f3198cbf76484068f8d7 /lib/Transforms/Utils/CodeExtractor.cpp
parentf47649f7f96bbbf3b79b428b885114777a8175aa (diff)
downloadllvm-58aa6072058b4dd086c503362c3fa467568c4cfe.tar.gz
llvm-58aa6072058b4dd086c503362c3fa467568c4cfe.tar.bz2
llvm-58aa6072058b4dd086c503362c3fa467568c4cfe.tar.xz
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> git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207189 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Utils/CodeExtractor.cpp')
0 files changed, 0 insertions, 0 deletions