]> git.lizzy.rs Git - rust.git/commitdiff
Add a missing `#[no_mangle]`
authorscottmcm <scottmcm@users.noreply.github.com>
Thu, 3 Mar 2022 19:52:45 +0000 (19:52 +0000)
committerGitHub <noreply@github.com>
Thu, 3 Mar 2022 19:52:45 +0000 (19:52 +0000)
src/test/codegen/autovectorize-f32x4.rs

index 06741cee45d5e8ad0c6d0369b925d4b321617e96..6b09c8fc99860c8c5bd2ea30c325e3f91b5e5abe 100644 (file)
@@ -18,6 +18,7 @@
 }
 
 // CHECK-LABEL: @auto_vectorize_loop
+#[no_mangle]
 pub fn auto_vectorize_loop(a: [f32; 4], b: [f32; 4]) -> [f32; 4] {
 // CHECK: load <4 x float>
 // CHECK: load <4 x float>