diff options
| author | Scott McMurray <scottmcm@users.noreply.github.com> | 2025-02-15 10:24:24 -0800 |
|---|---|---|
| committer | Scott McMurray <scottmcm@users.noreply.github.com> | 2025-02-19 11:36:52 -0800 |
| commit | 642a705f714eaa73875b9bc9e7848568efc4b890 (patch) | |
| tree | 2d47702e4de13433aacdd06843c6ff44e2201e28 /tests/codegen | |
| parent | 511bf307f03d7045f54a376d389ebdf9786e7a24 (diff) | |
| download | rust-642a705f714eaa73875b9bc9e7848568efc4b890.tar.gz rust-642a705f714eaa73875b9bc9e7848568efc4b890.zip | |
PR feedback
Diffstat (limited to 'tests/codegen')
| -rw-r--r-- | tests/codegen/unchecked_shifts.rs | 6 |
1 files changed, 3 insertions, 3 deletions
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) } |
