Skip to content

Commit 7198b8a

Browse files
committed
[X86] x86-64-extend-shift.ll - regenerate checks
1 parent 63ceb9a commit 7198b8a

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed
Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,15 @@
1+
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 4
12
; RUN: llc < %s -mtriple=x86_64-apple-darwin | FileCheck %s
23
; Formerly there were two shifts.
34

45
define i64 @baz(i32 %A) nounwind {
5-
; CHECK: shlq $49, %r
6-
%tmp1 = shl i32 %A, 17
7-
%tmp2 = zext i32 %tmp1 to i64
8-
%tmp3 = shl i64 %tmp2, 32
9-
ret i64 %tmp3
6+
; CHECK-LABEL: baz:
7+
; CHECK: ## %bb.0:
8+
; CHECK-NEXT: movl %edi, %eax
9+
; CHECK-NEXT: shlq $49, %rax
10+
; CHECK-NEXT: retq
11+
%tmp1 = shl i32 %A, 17
12+
%tmp2 = zext i32 %tmp1 to i64
13+
%tmp3 = shl i64 %tmp2, 32
14+
ret i64 %tmp3
1015
}

0 commit comments

Comments
 (0)