1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; RUN: llc -mtriple=x86_64-linux-generic < %s | FileCheck %s
4 define void @reassociation_gt64bit(i32 %x, i32 %y, ptr %s) {
5 ; CHECK-LABEL: reassociation_gt64bit:
7 ; CHECK-NEXT: movl %edi, %eax
8 ; CHECK-NEXT: movl %esi, %ecx
9 ; CHECK-NEXT: addq %rax, %rcx
10 ; CHECK-NEXT: movq %rcx, (%rdx)
11 ; CHECK-NEXT: movw $64, 8(%rdx)
13 %zextx = zext i32 %x to i80
14 %zexty = zext i32 %y to i80
15 %add1 = add i80 %zextx, 1180591620717411303424
16 %add2 = add i80 %add1, %zexty
17 store i80 %add2, ptr %s