-
Notifications
You must be signed in to change notification settings - Fork 13.7k
Commit f1c2b28
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).1 parent f6afd2e commit f1c2b28
1 file changed
+6
-6
lines changedLines changed: 6 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
788 | 788 |
| |
789 | 789 |
| |
790 | 790 |
| |
791 | + | ||
791 | 792 |
| |
792 | 793 |
| |
793 | 794 |
| |
| |||
806 | 807 |
| |
807 | 808 |
| |
808 | 809 |
| |
809 | - | ||
810 | - | ||
811 | - | ||
812 | - | ||
813 | - | ||
814 | - | ||
810 | + | ||
811 | + | ||
812 | + | ||
813 | + | ||
814 | + | ||
815 | 815 |
| |
816 | 816 |
| |
817 | 817 |
| |
|
0 commit comments