Skip to content

Commit

Permalink
Rollup merge of #125399 - scottmcm:less-hir-in-cg_ssa, r=compiler-errors
Browse files Browse the repository at this point in the history
Stop using `to_hir_binop` in codegen

This came up in rust-lang/rust#125359 (comment) , and looking into it we can just use the `mir::BinOp`s directly instead of `hir::BinOpKind`s.

(AKA rather than going `mir::BinOp` → `hir::BinOpKind` → `IntPredicate`, just go `mir::BinOp` → `IntPredicate`.)
  • Loading branch information
fmease authored May 22, 2024
2 parents fcd8f12 + 1bcefb9 commit 3ee2164
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 3ee2164

Please sign in to comment.