skip tests/codegen/swap-small-types when debug assertions are on

In `swap_nonoverlapping_short` there's a new `debug_assert!`, and if that's enabled then the `alloca`s don't optimize out.
This commit is contained in:
Scott McMurray 2025-04-09 10:44:49 -07:00
parent b06a88ff61
commit 63dcac8423

View file

@ -1,6 +1,7 @@
//@ compile-flags: -Copt-level=3 -Z merge-functions=disabled
//@ only-x86_64
//@ min-llvm-version: 20
//@ ignore-std-debug-assertions (`ptr::swap_nonoverlapping` has one which blocks some optimizations)
#![crate_type = "lib"]