about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc/example/std_example.rs
diff options
context:
space:
mode:
authorAurelia Molzer <5550310+HeroicKatora@users.noreply.github.com>2025-08-30 11:58:48 +0200
committerAurelia Molzer <5550310+197g@users.noreply.github.com>2025-08-30 13:01:36 +0200
commit354787b5ba8210070929e7454312c51da8e6f988 (patch)
tree71582d7d87502b9e5fa4effd4dff9332055df2de /compiler/rustc_codegen_gcc/example/std_example.rs
parent539f8400e769ad6092b5fe1cac0ebe885e5543a8 (diff)
downloadrust-354787b5ba8210070929e7454312c51da8e6f988.tar.gz
rust-354787b5ba8210070929e7454312c51da8e6f988.zip
Simplify select_unpredictable guard selection
Instead of a tuple, select the dropped value and its guard with two
separate calls to the intrinsic which makes both calls have a
pointer-valued argument that should be simpler in codegen. Use the same
condition on all (not an inverted condition) to clarify the intent of
parallel selection. This should also be a simpler value-dependency chain
if the guard is deduced unused (i.e. drop_in_place a noop for the type).
Diffstat (limited to 'compiler/rustc_codegen_gcc/example/std_example.rs')
0 files changed, 0 insertions, 0 deletions