brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.5 KiB · c10a24c Raw
35 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py2; RUN: llc -mtriple=x86_64-linux-gnu %s -o - | FileCheck %s3 4%struct.S = type <{ i16, i24, [5 x i8], i8, i16, [2 x i8] }>5 6@z = dso_local global { i16, i8, i8, i8, i8, i8, i8, i8, i8, i8, [5 x i8] } { i16 -724, i8 94, i8 -18, i8 5, i8 undef, i8 96, i8 104, i8 -24, i8 10, i8 0, [5 x i8] undef }, align 87@tf_3_var_136 = dso_local global i64 0, align 88@.str = private unnamed_addr constant [6 x i8] c"%llu\0A\00", align 19 10define dso_local void @PR35763() {11; CHECK-LABEL: PR35763:12; CHECK:       # %bb.0: # %entry13; CHECK-NEXT:    movzwl z(%rip), %eax14; CHECK-NEXT:    movzwl z+2(%rip), %ecx15; CHECK-NEXT:    orl %eax, %ecx16; CHECK-NEXT:    movq %rcx, tf_3_var_136(%rip)17; CHECK-NEXT:    andl $-33554177, z+7(%rip) # imm = 0xFE0000FF18; CHECK-NEXT:    retq19entry:20  %0 = load i16, ptr @z, align 821  %conv = sext i16 %0 to i3222  %bf.load = load i32, ptr getelementptr inbounds (%struct.S, ptr @z, i32 0, i32 1), align 223  %bf.clear = and i32 %bf.load, 209715124  %bf.cast = zext i32 %bf.clear to i6425  %conv1 = trunc i64 %bf.cast to i3226  %or = or i32 %conv, %conv127  %conv2 = trunc i32 %or to i1628  %conv3 = zext i16 %conv2 to i6429  store i64 %conv3, ptr @tf_3_var_136, align 830  %bf.load4 = load i40, ptr getelementptr inbounds (%struct.S, ptr @z, i32 0, i32 2), align 231  %bf.clear5 = and i40 %bf.load4, -858986905732  store i40 %bf.clear5, ptr getelementptr inbounds (%struct.S, ptr @z, i32 0, i32 2), align 233  ret void34}35