From 03146471b58be8a0f9133064ea503252e60f7466 Mon Sep 17 00:00:00 2001 From: scottmcm Date: Sat, 20 Aug 2022 21:08:56 +0000 Subject: [PATCH] Allow other directives before the `ret` --- src/test/assembly/x86_64-floating-point-clamp.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/assembly/x86_64-floating-point-clamp.rs b/src/test/assembly/x86_64-floating-point-clamp.rs index 4493791a576..0f3b465d08d 100644 --- a/src/test/assembly/x86_64-floating-point-clamp.rs +++ b/src/test/assembly/x86_64-floating-point-clamp.rs @@ -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) }