Skip to content

Commit e241551

Browse files
committed
[beta-1.72] Update LLVM to resolve a miscompilation found in 114312.
1 parent 81e1247 commit e241551

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

tests/codegen/issues/issue-114312.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ pub enum Expr {
1616
#[no_mangle]
1717
pub extern "C" fn issue_114312(expr: Expr) {
1818
// CHECK-LABEL: @issue_114312(
19-
// CHECK-SAME: readonly
19+
// CHECK-NOT: readonly
2020
// CHECK-SAME: byval
21-
// CHECK: bb1:
22-
// CHECK-NEXT: br label %bb1
21+
// CHECK-NEXT: start:
22+
// CHECK-NEXT: ret void
2323
match expr {
2424
Expr::Sum => {}
2525
Expr::Sub(_, _) => issue_114312(Expr::Sum),

0 commit comments

Comments
 (0)