Please use GitHub pull requests for new patches. Avoid migrating existing patches. Phabricator shutdown timeline
Changeset View
Changeset View
Standalone View
Standalone View
test/CodeGen/X86/pr32345.ll
Show First 20 Lines • Show All 84 Lines • ▼ Show 20 Lines | |||||
; 6860-NEXT: movb %al, %cl | ; 6860-NEXT: movb %al, %cl | ||||
; 6860-NEXT: movl {{[0-9]+}}(%esp), %eax # 4-byte Reload | ; 6860-NEXT: movl {{[0-9]+}}(%esp), %eax # 4-byte Reload | ||||
; 6860-NEXT: movb %cl, (%eax) | ; 6860-NEXT: movb %cl, (%eax) | ||||
; 6860-NEXT: leal -12(%ebp), %esp | ; 6860-NEXT: leal -12(%ebp), %esp | ||||
; 6860-NEXT: popl %esi | ; 6860-NEXT: popl %esi | ||||
; 6860-NEXT: popl %edi | ; 6860-NEXT: popl %edi | ||||
; 6860-NEXT: popl %ebx | ; 6860-NEXT: popl %ebx | ||||
; 6860-NEXT: popl %ebp | ; 6860-NEXT: popl %ebp | ||||
; 6860-NEXT: .Lcfi6: | |||||
; 6860-NEXT: .cfi_def_cfa %esp, 4 | |||||
; 6860-NEXT: retl | ; 6860-NEXT: retl | ||||
; | ; | ||||
; X64-LABEL: foo: | ; X64-LABEL: foo: | ||||
; X64: # BB#0: # %bb | ; X64: # BB#0: # %bb | ||||
; X64-NEXT: movzwl {{.*}}(%rip), %ecx | ; X64-NEXT: movzwl {{.*}}(%rip), %ecx | ||||
; X64-NEXT: movw {{.*}}(%rip), %ax | ; X64-NEXT: movw {{.*}}(%rip), %ax | ||||
; X64-NEXT: xorw %cx, %ax | ; X64-NEXT: xorw %cx, %ax | ||||
; X64-NEXT: xorl %ecx, %eax | ; X64-NEXT: xorl %ecx, %eax | ||||
Show All 30 Lines | |||||
; 686-NEXT: testb $32, %cl | ; 686-NEXT: testb $32, %cl | ||||
; 686-NEXT: jne .LBB0_2 | ; 686-NEXT: jne .LBB0_2 | ||||
; 686-NEXT: # BB#1: # %bb | ; 686-NEXT: # BB#1: # %bb | ||||
; 686-NEXT: movl %eax, %edx | ; 686-NEXT: movl %eax, %edx | ||||
; 686-NEXT: .LBB0_2: # %bb | ; 686-NEXT: .LBB0_2: # %bb | ||||
; 686-NEXT: movb %dl, (%eax) | ; 686-NEXT: movb %dl, (%eax) | ||||
; 686-NEXT: movl %ebp, %esp | ; 686-NEXT: movl %ebp, %esp | ||||
; 686-NEXT: popl %ebp | ; 686-NEXT: popl %ebp | ||||
; 686-NEXT: .Lcfi3: | |||||
; 686-NEXT: .cfi_def_cfa %esp, 4 | |||||
; 686-NEXT: retl | ; 686-NEXT: retl | ||||
bb: | bb: | ||||
%tmp = alloca i64, align 8 | %tmp = alloca i64, align 8 | ||||
%tmp1 = load i16, i16* @var_22, align 2 | %tmp1 = load i16, i16* @var_22, align 2 | ||||
%tmp2 = zext i16 %tmp1 to i32 | %tmp2 = zext i16 %tmp1 to i32 | ||||
%tmp3 = load i16, i16* @var_27, align 2 | %tmp3 = load i16, i16* @var_27, align 2 | ||||
%tmp4 = zext i16 %tmp3 to i32 | %tmp4 = zext i16 %tmp3 to i32 | ||||
%tmp5 = xor i32 %tmp2, %tmp4 | %tmp5 = xor i32 %tmp2, %tmp4 | ||||
Show All 23 Lines |