Skip to content

Commit

Permalink
Allow other directives before the ret
Browse files Browse the repository at this point in the history
  • Loading branch information
scottmcm authored Aug 20, 2022
1 parent 302689f commit 0314647
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/assembly/x86_64-floating-point-clamp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ pub fn clamp12_demo(a: f32) -> f32 {
// CHECK-NEXT: maxss xmm1, xmm0
// CHECK-NEXT: movss xmm0
// CHECK-NEXT: minss xmm0, xmm1
// CHECK-NEXT: ret
// CHECK: ret
a.clamp(1.0, 2.0)
}

0 comments on commit 0314647

Please sign in to comment.