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
4 define i64 @foo() nounwind {
6 ; CHECK: # %bb.0: # %entry
7 ; CHECK-NEXT: cmpl $12, 0
8 ; CHECK-NEXT: je .LBB0_1
9 ; CHECK-NEXT: # %bb.2: # %bb65
10 ; CHECK-NEXT: xorl %ecx, %ecx
13 ; CHECK-NEXT: xorl %eax, %eax
15 ; CHECK-NEXT: .LBB0_1: # %bb56
17 %t0 = load i32, ptr null, align 8
18 switch i32 %t0, label %bb65 [
30 %a = phi i64 [ 0, %bb ], [ 0, %entry ]
31 tail call void asm "", "{cx}"(i64 %a) nounwind
32 %t15 = and i64 %a, 4294967295
36 define i64 @bar(i64 %t0) nounwind {
39 ; CHECK-NEXT: movq %rdi, %rax
40 ; CHECK-NEXT: xorl %ecx, %ecx
43 ; CHECK-NEXT: negl %eax
45 call void asm "", "{cx}"(i64 0) nounwind
47 %t2 = and i64 %t1, 4294967295