Skip to content

Commit acb5ee2

Browse files
committed
Disable append-elements.rs test with debug assertions
The IR is a bit different (in particular wrt naming) if debug-assertions-std is enabled. Peculiarly, the issue goes away if overflow-check-std is also enabled, which is why CI did not catch this.
1 parent 7d8ebe3 commit acb5ee2

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tests/codegen-llvm/lib-optimizations/append-elements.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
//@ compile-flags: -O -Zmerge-functions=disabled
22
//@ needs-deterministic-layouts
33
//@ min-llvm-version: 21
4+
//@ ignore-std-debug-assertions (causes different value naming)
45
#![crate_type = "lib"]
56

67
//! Check that a temporary intermediate allocations can eliminated and replaced

0 commit comments

Comments
 (0)