Respect the -tail-dup-size command line option even when optimizing for size.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Sun, 30 Jan 2011 20:38:12 +0000 (20:38 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Sun, 30 Jan 2011 20:38:12 +0000 (20:38 +0000)
commit8352062e52eed6e50786fdb89f5e601fdcbe0d90
tree0d937f32df941e1792e89a6f016893dcb69ef799
parent7af00c0f6e4a5612a2438269a6f8a71b0ae9190e
Respect the -tail-dup-size command line option even when optimizing for size.

This is similar to the -unroll-threshold option. There should be no change in
behavior when -tail-dup-size is not explicit on the llc command line.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124564 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/TailDuplication.cpp