File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
mlir/lib/Dialect/OpenMP/IR Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -3044,8 +3044,7 @@ mlir::omp ::decodeCli(Value cli) {
3044
3044
if (!cli)
3045
3045
return {{}, nullptr , nullptr };
3046
3046
3047
- MLIRContext *ctx = cli.getContext ();
3048
- assert (cli.getType () == CanonicalLoopInfoType::get (ctx) &&
3047
+ assert (cli.getType () == CanonicalLoopInfoType::get (cli.getContext ()) &&
3049
3048
" Unexpected type of cli" );
3050
3049
3051
3050
NewCliOp create = cast<NewCliOp>(cli.getDefiningOp ());
@@ -3168,8 +3167,7 @@ void NewCliOp::getAsmResultNames(OpAsmSetValueNameFn setNameFn) {
3168
3167
LogicalResult NewCliOp::verify () {
3169
3168
Value cli = getResult ();
3170
3169
3171
- MLIRContext *ctx = cli.getContext ();
3172
- assert (cli.getType () == CanonicalLoopInfoType::get (ctx) &&
3170
+ assert (cli.getType () == CanonicalLoopInfoType::get (cli.getContext ()) &&
3173
3171
" Unexpected type of cli" );
3174
3172
3175
3173
// Check that the CLI is used in at most generator and one consumer
You can’t perform that action at this time.
0 commit comments