projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
CostModel: We have API for checking the costs of known shuffles. This patch adds
[oota-llvm.git]
/
lib
/
Target
/
TargetTransformImpl.cpp
diff --git
a/lib/Target/TargetTransformImpl.cpp
b/lib/Target/TargetTransformImpl.cpp
index a320e16c98fae230d32b2370a3ac2031d73e62bc..235a8fc76a646f50d09fc8e995c1cbd73d932468 100644
(file)
--- a/
lib/Target/TargetTransformImpl.cpp
+++ b/
lib/Target/TargetTransformImpl.cpp
@@
-209,7
+209,8
@@
unsigned VectorTargetTransformImpl::getArithmeticInstrCost(unsigned Opcode,
}
unsigned VectorTargetTransformImpl::getShuffleCost(ShuffleKind Kind,
- Type *Tp) const {
+ Type *Tp,
+ int Index) const {
return 1;
}