tests: adapt for LLVM 21 changes

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

Fixes #137799.
This commit is contained in:
Augie Fackler 2025-02-28 14:27:22 -05:00
parent 2f581937e1
commit 2d3639d559

View File

@ -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