File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
include/vast/Dialect/HighLevel Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -478,10 +478,10 @@ def HighLevel_IndirectGotoStmt
478478 let assemblyFormat = [{ attr-dict `:` $target }];
479479}
480480
481- def HighLevel_SkipStmt : HighLevel_Op< "skip ", [] >
481+ def HighLevel_NullStmt : HighLevel_Op< "null ", [] >
482482{
483- let summary = "VAST skip statement";
484- let description = [{ VAST skip statement }];
483+ let summary = "VAST null statement";
484+ let description = [{ VAST null statement }];
485485
486486 let assemblyFormat = [{ attr-dict }];
487487}
Original file line number Diff line number Diff line change @@ -1033,7 +1033,7 @@ namespace vast::cg
10331033
10341034 operation last_effective_operation (mlir::Block *block) {
10351035 auto last = std::prev (block->end ());
1036- while (last != block->begin () && mlir::isa< hl::SkipStmt >(&*last)) {
1036+ while (last != block->begin () && mlir::isa< hl::NullStmt >(&*last)) {
10371037 last = std::prev (last);
10381038 }
10391039 return &*last;
@@ -1090,7 +1090,7 @@ namespace vast::cg
10901090 }
10911091
10921092 operation default_stmt_visitor::VisitNullStmt (const clang::NullStmt *stmt) {
1093- return bld.compose < hl::SkipStmt >().bind (self.location (stmt)).freeze ();
1093+ return bld.compose < hl::NullStmt >().bind (self.location (stmt)).freeze ();
10941094 }
10951095
10961096 operation default_stmt_visitor::VisitCXXThisExpr (const clang::CXXThisExpr *expr) {
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ namespace vast::conv::irstollvm
4646 ignore_pattern< hl::DeclRefOp >,
4747 ignore_pattern< hl::PredefinedExpr >,
4848 ignore_pattern< hl::AddressOf >,
49- ignore_pattern< hl::SkipStmt >,
49+ ignore_pattern< hl::NullStmt >,
5050 erase_pattern< hl::StructDeclOp >,
5151 erase_pattern< hl::UnionDeclOp >,
5252 erase_pattern< hl::TypeDeclOp >
You can’t perform that action at this time.
0 commit comments