Skip to content

Commit aa46203

Browse files
committed
fix
1 parent c368eff commit aa46203

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

mlir/lib/Ion/Transforms/ion-to-rtio.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -159,9 +159,7 @@ auto traceValueWithCallback(Value value, CallbackT &&callback)
159159
}
160160
}
161161

162-
if constexpr (std::is_same_v<std::invoke_result_t<CallbackT, Value>, WalkResult>) {
163-
return walkResult;
164-
}
162+
return walkResult;
165163
}
166164

167165
Value awaitEvents(ArrayRef<Value> events, PatternRewriter &rewriter)

0 commit comments

Comments
 (0)