Fix extraneous context parameter in templated helper function.

(missed in lattner's overall updates related to D99028)
This commit is contained in:
Stella Laurenzo 2021-03-22 04:58:17 +00:00
parent 113f077f80
commit bdf4e93b2c
1 changed files with 2 additions and 3 deletions

View File

@ -716,9 +716,8 @@ void insertVectorizationPatterns(OwningRewritePatternList &patternList,
linalg::LinalgTransformationFilter()) {
// FIXME: In c++17 this can be simplified by using 'fold expressions'.
(void)std::initializer_list<int>{
0, (insertVectorizationPatternImpl<OpTypes>(
patternList, patternList.getContext(), options, f),
0)...};
0,
(insertVectorizationPatternImpl<OpTypes>(patternList, options, f), 0)...};
}
///