1
Fork 0

Allow other directives before the ret

This commit is contained in:
scottmcm 2022-08-20 21:08:56 +00:00 committed by GitHub
parent 302689fa7b
commit 03146471b5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)
}