1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 4
2 ; RUN: llc < %s -mtriple=x86_64-- | FileCheck %s
5 define i64 @t(i64 %A, i64 %B, ptr %P, ptr%P2) nounwind {
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)
15 %D = trunc i64 %C to i32
16 store volatile i32 %D, ptr %P
19 store volatile i64 %F, ptr%P2
20 store volatile i32 %D, ptr %P