bjorn3 opened PR #1939 from 128bit_switch
to main
:
Fixes https://github.com/bjorn3/rustc_codegen_cranelift/issues/757
Required by https://github.com/bjorn3/rustc_codegen_cranelift/issues/743
bjorn3 updated PR #1939 from 128bit_switch
to main
:
Fixes https://github.com/bjorn3/rustc_codegen_cranelift/issues/757
Required by https://github.com/bjorn3/rustc_codegen_cranelift/issues/743
tschneidereit requested cfallin, bnjbvr and julian-seward1 for a review on PR #1939.
tschneidereit requested cfallin, bnjbvr and julian-seward1 for a review on PR #1939.
tschneidereit requested cfallin, bnjbvr and julian-seward1 for a review on PR #1939.
cfallin submitted PR Review.
cfallin submitted PR Review.
cfallin created PR Review Comment:
Can we just assert that the values are
<= i64::MAX
(or usei64::try_from
below) instead? It seems fine to me to build on a 128-bit system and generate 64-bit-sized IR as long as the statically-known values are in range (unless I'm missing some other issue!).
cfallin created PR Review Comment:
This sequence happens four times -- perhaps extract it into a helper (
compare_to_u128
or similar)?
bjorn3 updated PR #1939 from 128bit_switch
to main
:
Fixes https://github.com/bjorn3/rustc_codegen_cranelift/issues/757
Required by https://github.com/bjorn3/rustc_codegen_cranelift/issues/743
cfallin submitted PR Review.
cfallin created PR Review Comment:
Sorry to be picky here -- can we pass in an
IntCC
condition and then combineicmp_imm_u128_{eq,uge}
?
bjorn3 submitted PR Review.
bjorn3 created PR Review Comment:
Already realized that :)
bjorn3 updated PR #1939 from 128bit_switch
to main
:
Fixes https://github.com/bjorn3/rustc_codegen_cranelift/issues/757
Required by https://github.com/bjorn3/rustc_codegen_cranelift/issues/743
bjorn3 submitted PR Review.
bjorn3 created PR Review Comment:
Changed this to assert that
blocks.len()
fits in anu64
.
bjorn3 updated PR #1939 from 128bit_switch
to main
:
Fixes https://github.com/bjorn3/rustc_codegen_cranelift/issues/757
Required by https://github.com/bjorn3/rustc_codegen_cranelift/issues/743
cfallin submitted PR Review.
bjorn3 updated PR #1939 from 128bit_switch
to main
:
Fixes https://github.com/bjorn3/rustc_codegen_cranelift/issues/757
Required by https://github.com/bjorn3/rustc_codegen_cranelift/issues/743
cfallin merged PR #1939.
Last updated: Nov 22 2024 at 17:03 UTC