about summary refs log tree commit diff
diff options
context:
space:
mode:
authorscottmcm <scottmcm@users.noreply.github.com>2022-08-20 21:08:56 +0000
committerGitHub <noreply@github.com>2022-08-20 21:08:56 +0000
commit03146471b58be8a0f9133064ea503252e60f7466 (patch)
tree9ef28797808a5d6c46be67592757ec2b4b80a8c5
parent302689fa7bbfc9b24b0bc73db41f7fce5586987c (diff)
downloadrust-03146471b58be8a0f9133064ea503252e60f7466.tar.gz
rust-03146471b58be8a0f9133064ea503252e60f7466.zip
Allow other directives before the `ret`
-rw-r--r--src/test/assembly/x86_64-floating-point-clamp.rs2
1 files changed, 1 insertions, 1 deletions
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)
 }