diff options
author | Nadav Rotem <nrotem@apple.com> | 2012-12-05 21:21:26 +0000 |
---|---|---|
committer | Nadav Rotem <nrotem@apple.com> | 2012-12-05 21:21:26 +0000 |
commit | 0a471ea66c3c1b6b9183987cb4248af2ca216164 (patch) | |
tree | 040be5ecb5f94dc9026dc3dd88610c591bdca34f /llvm/lib | |
parent | c8e56e893195f625647ad249a17b0b532ee544a6 (diff) | |
download | bcm5719-llvm-0a471ea66c3c1b6b9183987cb4248af2ca216164.tar.gz bcm5719-llvm-0a471ea66c3c1b6b9183987cb4248af2ca216164.zip |
Cost Model: change the default cost of control flow instructions (br / ret / ...) to zero.
llvm-svn: 169423
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/Target/TargetTransformImpl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/TargetTransformImpl.cpp b/llvm/lib/Target/TargetTransformImpl.cpp index b36e6f858f7..2df72630bb3 100644 --- a/llvm/lib/Target/TargetTransformImpl.cpp +++ b/llvm/lib/Target/TargetTransformImpl.cpp @@ -283,7 +283,7 @@ unsigned VectorTargetTransformImpl::getCastInstrCost(unsigned Opcode, Type *Dst, } unsigned VectorTargetTransformImpl::getCFInstrCost(unsigned Opcode) const { - return 1; + return 0; } unsigned VectorTargetTransformImpl::getCmpSelInstrCost(unsigned Opcode, |