brintos

brintos / llvm-project-archived public Read only

0
0
Text · 347 B · 4d21bd7 Raw
14 lines · plain
1; RUN: llc -mtriple=x86_64-linux < %s | FileCheck %s2; RUN: llc -mtriple=x86_64-win32 < %s | FileCheck %s3 4define i8 @foobar(double %d, ptr %x) {5entry:6  %tmp2 = load double, ptr %x, align 87  %cmp = fcmp oeq double %tmp2, %d8  %conv3 = zext i1 %cmp to i89  ret i8 %conv310}11 12; test that the load is folded.13; CHECK: cmpeqsd	(%{{rdi|rdx}}), %xmm014