OSDN Git Service

SimplifyCFG has a heuristics for out-of-order processors that decides when it is...
authorNadav Rotem <nrotem@apple.com>
Sun, 10 Nov 2013 04:13:31 +0000 (04:13 +0000)
committerNadav Rotem <nrotem@apple.com>
Sun, 10 Nov 2013 04:13:31 +0000 (04:13 +0000)
commit30150a128c7b2488225331417153ccec75bac65c
tree9dda8d3f33330407319195c979403e9202b568e2
parent20f1fe5c50c1a8ea69e635b4928c7f46e10c8cac
SimplifyCFG has a heuristics for out-of-order processors that decides when it is worthwhile to merge branches. It tries to estimate if the operands of the instruction that we want to hoist are ready. This commit marks function arguments as 'ready' because they require no calculation. This boosts libquantum and a few other workloads from the testsuite.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194346 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Utils/SimplifyCFG.cpp
test/Transforms/SimplifyCFG/common-dest-folding.ll [new file with mode: 0644]