From 642a705f714eaa73875b9bc9e7848568efc4b890 Mon Sep 17 00:00:00 2001 From: Scott McMurray Date: Sat, 15 Feb 2025 10:24:24 -0800 Subject: PR feedback --- tests/codegen/unchecked_shifts.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/codegen') diff --git a/tests/codegen/unchecked_shifts.rs b/tests/codegen/unchecked_shifts.rs index a0d8990d29f..9fccaf2252e 100644 --- a/tests/codegen/unchecked_shifts.rs +++ b/tests/codegen/unchecked_shifts.rs @@ -24,9 +24,9 @@ pub unsafe fn unchecked_shl_unsigned_same(a: u32, b: u32) -> u32 { #[no_mangle] pub unsafe fn unchecked_shl_unsigned_smaller(a: u16, b: u32) -> u16 { // CHECK-NOT: assume - // LLVM18-DAG: %[[TRUNC:.+]] = trunc i32 %b to i16 - // LLVM19PLUS-DAG: %[[TRUNC:.+]] = trunc nuw i32 %b to i16 - // CHECK-DAG: shl i16 %a, %[[TRUNC]] + // LLVM18: %[[TRUNC:.+]] = trunc i32 %b to i16 + // LLVM19PLUS: %[[TRUNC:.+]] = trunc nuw i32 %b to i16 + // CHECK: shl i16 %a, %[[TRUNC]] a.unchecked_shl(b) } -- cgit 1.4.1-3-g733a5