File tree Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -2354,7 +2354,7 @@ end
2354
2354
(),
2355
2355
f_name,
2356
2356
false ;
2357
- args_in_result= :result_and_mutated ,
2357
+ args_in_result= :all ,
2358
2358
do_transpose= false ,
2359
2359
argprefix,
2360
2360
resprefix,
Original file line number Diff line number Diff line change @@ -685,18 +685,15 @@ function finalize_mlir_fn(
685
685
end
686
686
if args_in_result != :all
687
687
if has_idx (v, argprefix)
688
- if ! (
689
- (args_in_result == :result_and_mutated || args_in_result == :result ) &&
690
- has_idx (v, resprefix)
691
- )
688
+ if ! (args_in_result == :result && has_idx (v, resprefix))
692
689
continue
693
690
end
694
691
end
695
692
end
696
693
push! (linear_results, v)
697
694
end
698
695
699
- if args_in_result == :mutated || args_in_result == :result_and_mutated
696
+ if args_in_result == :mutated
700
697
append! (linear_results, linear_args[mutated_args])
701
698
end
702
699
if ! isnothing (verify_arg_names) && typeof .(linear_args) != typeof .(linear_results)
You can’t perform that action at this time.
0 commit comments