Skip to content

Commit

Permalink
Merge pull request #3 from ROCm/msearles/migrateToCmpPredicate-2
Browse files Browse the repository at this point in the history
PatternMatch: migrate to CmpPredicate after 4a0d53a0b0a5 (#2928)
  • Loading branch information
searlmc1 authored Dec 16, 2024
2 parents 0659e45 + e0fa0a3 commit 2e9c07b
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 2e9c07b

Please sign in to comment.