Allow BB duplication threshold to be adjusted through JumpThreading's ctor
authorMichael Liao <michael.liao@intel.com>
Wed, 24 Sep 2014 04:59:06 +0000 (04:59 +0000)
committerMichael Liao <michael.liao@intel.com>
Wed, 24 Sep 2014 04:59:06 +0000 (04:59 +0000)
commit35fdc092e069be5b9a66f21ef9b7b1c0ac471c07
tree7322f79c863652c9c908ea05972ecc2d05ae6eec
parentbfb2b180bf2045ece12a926de5334db18333c043
Allow BB duplication threshold to be adjusted through JumpThreading's ctor

- BB duplication may not be desired on targets where there is no or small
  branch penalty and code duplication needs restrict control.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@218375 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Transforms/Scalar.h
lib/Transforms/Scalar/JumpThreading.cpp