Cost Model: change the default cost of control flow instructions (br / ret / ......
authorNadav Rotem <nrotem@apple.com>
Wed, 5 Dec 2012 21:21:26 +0000 (21:21 +0000)
committerNadav Rotem <nrotem@apple.com>
Wed, 5 Dec 2012 21:21:26 +0000 (21:21 +0000)
commit0602bb46596485b43fa8b86abbc8485d502025ce
treec0d06457ae762383e00ca62e85b0b010803ffbdf
parentf2a1c83c86ceefb9a241aa728d1d1239a64b894e
Cost Model: change the default cost of control flow instructions (br / ret / ...) to zero.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169423 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/TargetTransformImpl.cpp
test/Analysis/CostModel/X86/arith.ll
test/Analysis/CostModel/X86/cast.ll
test/Analysis/CostModel/X86/cmp.ll
test/Analysis/CostModel/X86/i32.ll
test/Analysis/CostModel/X86/tiny.ll
test/Analysis/CostModel/X86/vectorized-loop.ll