Skip to content

Commit

Permalink
PatternMatch: migrate to CmpPredicate after 4a0d53a0b0a5
Browse files Browse the repository at this point in the history
  • Loading branch information
searlmc1 committed Dec 16, 2024
1 parent 0659e45 commit a8eec6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/SPIRV/OCLToSPIRV.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit a8eec6f

Please sign in to comment.