projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Cost Model: change the default cost of control flow instructions (br / ret / ......
[oota-llvm.git]
/
lib
/
Target
/
TargetTransformImpl.cpp
diff --git
a/lib/Target/TargetTransformImpl.cpp
b/lib/Target/TargetTransformImpl.cpp
index b36e6f858f7251b0cde7803ce8cdaedd08f946a1..2df72630bb33cfe073fe493199695ffb12e81120 100644
(file)
--- a/
lib/Target/TargetTransformImpl.cpp
+++ b/
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,