From e0fa0a3860778cf602d07d3c52080f223d5ffdcd Mon Sep 17 00:00:00 2001 From: Jinsong Ji Date: Mon, 16 Dec 2024 03:40:41 -0500 Subject: [PATCH] PatternMatch: migrate to CmpPredicate after 4a0d53a0b0a5 (#2928) --- lib/SPIRV/OCLToSPIRV.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/SPIRV/OCLToSPIRV.cpp b/lib/SPIRV/OCLToSPIRV.cpp index 19c15c7de..1dc3ed974 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; }