brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1012 B · 852f8d2 Raw
35 lines · plain
1; REQUIRES: x86-registered-target2; RUN: llc < %s -mcpu=generic -mtriple=x86_64-unknown-linux-gnu -O3 | FileCheck %s3; RUN: llc < %s -mcpu=generic -mtriple=x86_64-unknown-windows-msvc -O3 | FileCheck %s4 5define float @foo(float %x) #0 {6  %tmp1 = fmul float %x, 3.000000e+007  %tmp3 = fmul float %x, 5.000000e+008  %tmp5 = fmul float %x, 7.000000e+009  %tmp7 = fmul float %x, 1.100000e+0110  call void @llvm.pseudoprobe(i64 6699318081062747564, i64 1, i32 0, i64 -1)11  %tmp10 = fadd float %tmp1, %tmp312  %tmp12 = fadd float %tmp10, %tmp513  %tmp14 = fadd float %tmp12, %tmp714  ret float %tmp1415; CHECK: mulss16; CHECK: mulss17; CHECK: addss18; CHECK: mulss19; CHECK: addss20; CHECK: mulss21; CHECK: addss22; CHECK: ret23}24 25; Function Attrs: inaccessiblememonly nounwind willreturn26declare void @llvm.pseudoprobe(i64, i64, i32, i64) #127 28attributes #0 = { nounwind }29attributes #1 = { inaccessiblememonly nounwind willreturn }30 31!llvm.pseudo_probe_desc = !{!0}32 33!0 = !{i64 6699318081062747564, i64 4294967295, !"foo", null}34 35