From a27f3e3fd1e4d16160f8885b6b06665b5319f56c Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Mon, 21 Jul 2025 14:34:12 +0200 Subject: Rename `tests/codegen` into `tests/codegen-llvm` --- tests/codegen/string-push.rs | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 tests/codegen/string-push.rs (limited to 'tests/codegen/string-push.rs') diff --git a/tests/codegen/string-push.rs b/tests/codegen/string-push.rs deleted file mode 100644 index cf5f6bb1aa3..00000000000 --- a/tests/codegen/string-push.rs +++ /dev/null @@ -1,11 +0,0 @@ -//! Check that `String::push` is optimized enough not to call `memcpy`. - -//@ compile-flags: -O -#![crate_type = "lib"] - -// CHECK-LABEL: @string_push_does_not_call_memcpy -#[no_mangle] -pub fn string_push_does_not_call_memcpy(s: &mut String, ch: char) { - // CHECK-NOT: call void @llvm.memcpy - s.push(ch); -} -- cgit 1.4.1-3-g733a5