diff options
| author | Ben Kimock <kimockb@gmail.com> | 2025-08-26 21:08:03 -0400 |
|---|---|---|
| committer | Ben Kimock <kimockb@gmail.com> | 2025-09-05 20:44:49 -0400 |
| commit | ab91a63d403b0105cacd72809cd292a72984ed99 (patch) | |
| tree | f0404f030d8c9fd6a38b082a98fb830eb88d5bfe /tests/codegen-llvm/default-visibility.rs | |
| parent | 51ff895062ba60a7cba53f57af928c3fb7b0f2f4 (diff) | |
| download | rust-ab91a63d403b0105cacd72809cd292a72984ed99.tar.gz rust-ab91a63d403b0105cacd72809cd292a72984ed99.zip | |
Ignore intrinsic calls in cross-crate-inlining cost model
Diffstat (limited to 'tests/codegen-llvm/default-visibility.rs')
| -rw-r--r-- | tests/codegen-llvm/default-visibility.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/codegen-llvm/default-visibility.rs b/tests/codegen-llvm/default-visibility.rs index 88ff9fee254..28238e5ef12 100644 --- a/tests/codegen-llvm/default-visibility.rs +++ b/tests/codegen-llvm/default-visibility.rs @@ -32,6 +32,7 @@ pub static tested_symbol: [u8; 6] = *b"foobar"; // INTERPOSABLE: @{{.*}}default_visibility{{.*}}tested_symbol{{.*}} = constant // DEFAULT: @{{.*}}default_visibility{{.*}}tested_symbol{{.*}} = constant +#[inline(never)] pub fn do_memcmp(left: &[u8], right: &[u8]) -> i32 { left.cmp(right) as i32 } |
