diff options
Diffstat (limited to 'llvm/lib/CodeGen/ExpandVectorPredication.cpp')
-rw-r--r-- | llvm/lib/CodeGen/ExpandVectorPredication.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/ExpandVectorPredication.cpp b/llvm/lib/CodeGen/ExpandVectorPredication.cpp index 6fdf3784..1a3a060 100644 --- a/llvm/lib/CodeGen/ExpandVectorPredication.cpp +++ b/llvm/lib/CodeGen/ExpandVectorPredication.cpp @@ -469,8 +469,8 @@ Value *CachingVPExpander::expandPredicationInComparison(IRBuilder<> &Builder, assert((maySpeculateLanes(VPI) || VPI.canIgnoreVectorLengthParam()) && "Implicitly dropping %evl in non-speculatable operator!"); - auto OC = *VPI.getFunctionalOpcode(); - assert(OC == Instruction::ICmp || OC == Instruction::FCmp); + assert(*VPI.getFunctionalOpcode() == Instruction::ICmp || + *VPI.getFunctionalOpcode() == Instruction::FCmp); Value *Op0 = VPI.getOperand(0); Value *Op1 = VPI.getOperand(1); |