brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.2 KiB · 2ddf096 Raw
36 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py2; RUN: llc < %s -mtriple=x86_64-apple-macosx | FileCheck %s3 4@global = external local_unnamed_addr global i85@global.1 = external local_unnamed_addr global i646 7define void @spam() local_unnamed_addr {8; CHECK-LABEL: spam:9; CHECK:       ## %bb.0: ## %bb10; CHECK-NEXT:    xorl %eax, %eax11; CHECK-NEXT:    testb %al, %al12; CHECK-NEXT:    je LBB0_213; CHECK-NEXT:  ## %bb.1: ## %bb914; CHECK-NEXT:    movq _global.1@GOTPCREL(%rip), %rax15; CHECK-NEXT:    movq $1, (%rax)16; CHECK-NEXT:  LBB0_2: ## %bb817; CHECK-NEXT:    retq18bb:19  %tmp = load i8, ptr @global, align 120  %tmp1 = and i8 %tmp, 121  %tmp2 = insertelement <8 x i8> undef, i8 %tmp1, i32 022  %tmp3 = ashr <8 x i8> %tmp2, <i8 7, i8 0, i8 0, i8 0, i8 0, i8 0, i8 0, i8 0>23  %tmp4 = shufflevector <8 x i8> %tmp3, <8 x i8> undef, <8 x i32> zeroinitializer24  %tmp5 = icmp slt <8 x i8> %tmp4, zeroinitializer25  %tmp6 = bitcast <8 x i1> %tmp5 to i826  %tmp7 = icmp eq i8 %tmp6, 027  br i1 %tmp7, label %bb8, label %bb928 29bb8:                                              ; preds = %bb9, %bb30  ret void31 32bb9:                                              ; preds = %bb33  store i64 1, ptr @global.1, align 834  br label %bb835}36