File tree Expand file tree Collapse file tree 1 file changed +7
-16
lines changed Expand file tree Collapse file tree 1 file changed +7
-16
lines changed Original file line number Diff line number Diff line change @@ -14,30 +14,21 @@ use std::intrinsics::three_way_compare;
1414// CHECK-LABEL: signed_cmp:
1515pub fn signed_cmp ( a : i16 , b : i16 ) -> std:: cmp:: Ordering {
1616 // DEBUG: sub
17- // DEBUG: setl
18- // DEBUG: setg
19- // DEBUG: sub
20- // DEBUG: ret
21- //
2217 // OPTIM: cmp
23- // OPTIM : setl
24- // OPTIM : setg
25- // OPTIM : sub
26- // OPTIM : ret
18+ // CHECK : setl
19+ // CHECK : setg
20+ // CHECK : sub
21+ // CHECK : ret
2722 three_way_compare ( a, b)
2823}
2924
3025#[ no_mangle]
3126// CHECK-LABEL: unsigned_cmp:
3227pub fn unsigned_cmp ( a : u16 , b : u16 ) -> std:: cmp:: Ordering {
3328 // DEBUG: sub
34- // DEBUG: seta
35- // DEBUG: sbb
36- // DEBUG: ret
37- //
3829 // OPTIM: cmp
39- // OPTIM : seta
40- // OPTIM : sbb
41- // OPTIM : ret
30+ // CHECK : seta
31+ // CHECK : sbb
32+ // CHECK : ret
4233 three_way_compare ( a, b)
4334}
You can’t perform that action at this time.
0 commit comments