Cost Model: change the default cost of control flow instructions (br / ret / ......
[oota-llvm.git] / lib / Target / TargetTransformImpl.cpp
index b36e6f858f7251b0cde7803ce8cdaedd08f946a1..2df72630bb33cfe073fe493199695ffb12e81120 100644 (file)
@@ -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,