Skip to content

Commit 63ceb9a

Browse files
committed
[X86] sext-subreg.ll - regenerate checks
1 parent 7927bcd commit 63ceb9a

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

llvm/test/CodeGen/X86/sext-subreg.ll

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,21 @@
1+
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 4
12
; RUN: llc < %s -mtriple=x86_64-- | FileCheck %s
23
; rdar://7529457
34

45
define i64 @t(i64 %A, i64 %B, ptr %P, ptr%P2) nounwind {
56
; CHECK-LABEL: t:
6-
; CHECK: movslq %e{{.*}}, %rax
7-
; CHECK: movq %rax
8-
; CHECK: movl %eax
7+
; CHECK: # %bb.0:
8+
; CHECK-NEXT: addq %rsi, %rdi
9+
; CHECK-NEXT: movl %edi, (%rdx)
10+
; CHECK-NEXT: movslq %edi, %rax
11+
; CHECK-NEXT: movq %rax, (%rcx)
12+
; CHECK-NEXT: movl %eax, (%rdx)
13+
; CHECK-NEXT: retq
914
%C = add i64 %A, %B
1015
%D = trunc i64 %C to i32
1116
store volatile i32 %D, ptr %P
1217
%E = shl i64 %C, 32
13-
%F = ashr i64 %E, 32
18+
%F = ashr i64 %E, 32
1419
store volatile i64 %F, ptr%P2
1520
store volatile i32 %D, ptr %P
1621
ret i64 undef

0 commit comments

Comments
 (0)