Skip to content

Commit a45de79

Browse files
authored
Unrolled build for #146116
Rollup merge of #146116 - zmodem:issue_118306_fix, r=nikic Adjust issue-118306.rs test after LLVM change This updates tests/codegen-llvm/issues/issue-118306.rs to pass also after llvm/llvm-project#155415
2 parents a2c8b0b + 4ecca58 commit a45de79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/codegen-llvm/issues/issue-118306.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ pub fn branchy(input: u64) -> u64 {
1111
// CHECK-LABEL: @branchy(
1212
// CHECK-NEXT: start:
1313
// CHECK-NEXT: [[_2:%.*]] = and i64 [[INPUT:%.*]], 3
14-
// CHECK-NEXT: [[SWITCH_GEP:%.*]] = getelementptr inbounds{{( nuw)?}} [4 x i64], ptr @switch.table.branchy, i64 0, i64 [[_2]]
14+
// CHECK-NEXT: [[SWITCH_GEP:%.*]] = getelementptr inbounds{{( nuw)?}} {{\[4 x i64\]|i64}}, ptr @switch.table.branchy{{(, i64 0)?}}, i64 [[_2]]
1515
// CHECK-NEXT: [[SWITCH_LOAD:%.*]] = load i64, ptr [[SWITCH_GEP]]
1616
// CHECK-NEXT: ret i64 [[SWITCH_LOAD]]
1717
match input % 4 {

0 commit comments

Comments
 (0)