forked from OSchip/llvm-project
Trivial change to fix builds
Pass the context while creating the Patternslist.
This commit is contained in:
parent
70b6f16e07
commit
502f27e66f
|
@ -244,7 +244,7 @@ public:
|
|||
return !(embox.getShape() ||
|
||||
embox.getType().cast<BoxType>().getEleTy().isa<SequenceType>());
|
||||
});
|
||||
mlir::OwningRewritePatternList patterns;
|
||||
mlir::OwningRewritePatternList patterns(&context);
|
||||
patterns.insert<EmboxConversion, ArrayCoorConversion, ReboxConversion>(
|
||||
&context);
|
||||
if (mlir::failed(
|
||||
|
|
Loading…
Reference in New Issue