Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tests/codegen-llvm/fromrangeiter-overflow-checks.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ pub unsafe fn rangefrom_increments(range: RangeFrom<i32>) -> RangeFrom<i32> {
// Iterator is contained entirely within this function, so the optimizer should
// be able to see that `exhausted` is never set and optimize out any branches.

// CHECK: i32 noundef %range
// CHECK: i32 noundef {{(signext )?}}%range
// DEBUG: switch i32 %range
// DEBUG: call core::panicking::panic_const::panic_const_add_overflow
// DEBUG: unreachable
Expand Down
Loading