brintos

brintos / llvm-project-archived public Read only

0
0
Text · 895 B · d348a13 Raw
25 lines · plain
1; RUN: llc -mcpu=skylake-avx512 -mtriple=x86_64-unknown-linux-gnu %s -o - | FileCheck %s2 3; Check that the X86 Domain Reassignment pass doesn't drop IMPLICIT_DEF nodes,4; which would later cause crashes (e.g. in LiveVariables) - see PR374305define void @domain_reassignment_implicit_def(i1 %cond, ptr%mem, float %arg) {6; CHECK:    vxorps %xmm1, %xmm1, %xmm17; CHECK:    vcmpneqss %xmm1, %xmm0, %k08; CHECK:    kmovb %k0, (%rsi)9top:10  br i1 %cond, label %L19, label %L1511 12L15:                                              ; preds = %top13  %tmp47 = fcmp une float 0.000000e+00, %arg14  %tmp48 = zext i1 %tmp47 to i815  br label %L2116 17L19:                                              ; preds = %top18  br label %L2119 20L21:                                              ; preds = %L19, %L1521  %.sroa.0.0 = phi i8 [ undef, %L19 ], [ %tmp48, %L15 ]22  store i8 %.sroa.0.0, ptr %mem, align 123  ret void24}25