Skip to content

Commit

Permalink
add more comments
Browse files Browse the repository at this point in the history
  • Loading branch information
AntonLydike committed Jul 18, 2024
1 parent 190dcfb commit c82d335
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions xdsl/transforms/convert_riscv_to_llvm.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ def match_and_rewrite(self, op: RISCVInstruction, rewriter: PatternRewriter):
)
op_results = output_op.results

# map results back using result_map
rewriter.replace_matched_op(
ops_to_insert,
[op_results[i] if isinstance(i, int) else i for i in result_map],
Expand Down

0 comments on commit c82d335

Please sign in to comment.