From ef599d1a3d49463404c1a2cf698d55e59f3de010 Mon Sep 17 00:00:00 2001 From: Amirhossein Akhlaghpour Date: Wed, 5 Aug 2026 16:52:31 +0330 Subject: [PATCH] re-enable bool indexing assembly test for LLVM 23 Signed-off-by: Amirhossein Akhlaghpour --- .../indexing-with-bools-no-redundant-instructions.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/assembly-llvm/indexing-with-bools-no-redundant-instructions.rs b/tests/assembly-llvm/indexing-with-bools-no-redundant-instructions.rs index 2e63f282c2307..8ae5f994b6b63 100644 --- a/tests/assembly-llvm/indexing-with-bools-no-redundant-instructions.rs +++ b/tests/assembly-llvm/indexing-with-bools-no-redundant-instructions.rs @@ -1,6 +1,5 @@ //@ assembly-output: emit-asm //@ only-x86_64 -//@ max-llvm-major-version: 22 //@ ignore-windows CHECK patterns use the SysV x86-64 calling convention //@ ignore-sgx Test incompatible with LVI mitigations //@ compile-flags: -Copt-level=3 @@ -16,7 +15,7 @@ pub fn bool_index(a: u32, b: bool, c: bool, d: &mut [u128; 2]) { // CHECK-LABEL: bool_index: // CHECK: testl %esi, %esi // CHECK: je - // CHECK: xorb %dl, %dil + // CHECK: xorb {{%dl, %dil|%dil, %dl}} // CHECK: orb $1, (%rcx) // CHECK-NOT: jmp // CHECK-NOT: andb $1, %dil