diff --git a/lib/SPIRV/OCLToSPIRV.cpp b/lib/SPIRV/OCLToSPIRV.cpp index 19c15c7d..1dc3ed97 100644 --- a/lib/SPIRV/OCLToSPIRV.cpp +++ b/lib/SPIRV/OCLToSPIRV.cpp @@ -1434,7 +1434,7 @@ bool usesSpvExtImageRaw10Raw12Constants(const CallInst *CI) { // common use patterns here. for (auto *U : CI->users()) { for (auto C : ExtConstants) { - ICmpInst::Predicate Pred; + CmpPredicate Pred; if (match(U, m_c_ICmp(Pred, m_Value(), m_SpecificInt(C)))) { return true; }