mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-18 18:42:46 +02:00
Fix warning introduced by 9c766f4090d19e3e2f56e87164177f8c3eba4b96
This commit is contained in:
parent
8067824e3d
commit
8526f9ba5b
@ -458,7 +458,7 @@ Instruction *InstCombinerImpl::visitExtractElementInst(ExtractElementInst &EI) {
|
||||
SmallVector<Value *> NewOps;
|
||||
for (unsigned I = 1; I != GEP->getNumOperands(); ++I) {
|
||||
Value *Op = GEP->getOperand(I);
|
||||
if (auto *OpTy = dyn_cast<VectorType>(Op->getType()))
|
||||
if (isa<VectorType>(Op->getType()))
|
||||
NewOps.push_back(Builder.CreateExtractElement(Op, IndexC));
|
||||
else
|
||||
NewOps.push_back(Op);
|
||||
|
Loading…
Reference in New Issue
Block a user