Skip to content

Commit

Permalink
Add a missing #[no_mangle]
Browse files Browse the repository at this point in the history
  • Loading branch information
scottmcm committed Mar 3, 2022
1 parent 934345b commit 0c13186
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/test/codegen/autovectorize-f32x4.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ pub fn auto_vectorize_direct(a: [f32; 4], b: [f32; 4]) -> [f32; 4] {
}

// 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>
Expand Down

0 comments on commit 0c13186

Please sign in to comment.