Skip to content

Commit

Permalink
Unrolled build for rust-lang#137818
Browse files Browse the repository at this point in the history
Rollup merge of rust-lang#137818 - durin42:llvm-21-remove-readonly, r=jieyouxu

tests: adapt for LLVM 21 changes

Per discussion in rust-lang#137799 we don't really need this readonly attribute, so let's just drop it so the test passes on LLVM 21.

Fixes rust-lang#137799.
  • Loading branch information
rust-timer authored Mar 2, 2025
2 parents 351686b + 2d3639d commit de1d677
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tests/codegen/issues/issue-114312.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ pub enum Expr {
#[no_mangle]
pub extern "C" fn issue_114312(expr: Expr) {
// CHECK-LABEL: @issue_114312(
// CHECK-NOT: readonly
// CHECK-SAME: byval
// CHECK-NEXT: start:
// CHECK-NEXT: ret void
Expand Down

0 comments on commit de1d677

Please sign in to comment.