Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ASDAlexander77 committed Nov 24, 2023
1 parent 9d9e18d commit ef3ca71
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions tsc/lib/TypeScript/LowerToAffineLoops.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1165,11 +1165,11 @@ struct TryOpLowering : public TsPattern<mlir_ts::TryOp>
// catches:landingpad
rewriter.setInsertionPointToStart(linuxHasCleanups ? cleanupBlock : catchesBlock);

auto catchTypes = ValueRange{catch1};
SmallVector<mlir::Value> catchTypes{catch1};
if (linuxHasCleanups && rttih.hasType())
{
// we need to catch all exceptions for cleanup code
catchTypes = ValueRange{catch1, catchAll};
catchTypes.push_back(catchAll);
}

auto landingPadOp = rewriter.create<mlir_ts::LandingPadOp>(loc, rttih.getLandingPadType(),
Expand Down
1 change: 0 additions & 1 deletion tsc/tsc/.vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@
"-emit=mlir-affine",
"--opt",
"-debug-only=mlir,affine",
"-mtriple=x86_64-pc-linux-gnu",
"-mlir-disable-threading",
"C:/temp/1.ts"
],
Expand Down

0 comments on commit ef3ca71

Please sign in to comment.