File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change 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
45define 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
You can’t perform that action at this time.
0 commit comments