forked from OSchip/llvm-project
Try to fix a test broken by one of my previous commits.
llvm-svn: 232536
This commit is contained in:
parent
9ab09237dc
commit
9ef5671d36
|
@ -2638,6 +2638,9 @@ static Value *addFastMathFlag(Value *V) {
|
|||
/// the result needs to be inserted and/or extracted from vectors.
|
||||
static unsigned getScalarizationOverhead(Type *Ty, bool Insert, bool Extract,
|
||||
const TargetTransformInfo &TTI) {
|
||||
if (Ty->isVoidTy())
|
||||
return 0;
|
||||
|
||||
assert(Ty->isVectorTy() && "Can only scalarize vectors");
|
||||
unsigned Cost = 0;
|
||||
|
||||
|
|
Loading…
Reference in New Issue