brintos

brintos / llvm-project-archived public Read only

0
0
Text · 745 B · 5722dcc Raw
24 lines · plain
1; REQUIRES: asserts2; RUN: llc < %s -mtriple=x86_64-linux   | FileCheck %s3; RUN: llc < %s -mtriple=x86_64-linux -regalloc=greedy | FileCheck %s4; RUN: llc < %s -mtriple=i386-linux -mattr=+sse2 | FileCheck %s5; CHECK:     LCPI6; CHECK:     LCPI7; CHECK:     LCPI8; CHECK-NOT: LCPI9 10; RUN: llc < %s -mtriple=x86_64-linux -o /dev/null -stats -info-output-file - | FileCheck %s -check-prefix=X64stat11; X64stat: 6 asm-printer12 13; RUN: llc < %s -mtriple=i686-- -mattr=+sse2 -o /dev/null -stats -info-output-file - | FileCheck %s -check-prefix=X32stat14; X32stat: 12 asm-printer15 16declare float @qux(float %y)17 18define float @array(float %a) nounwind {19  %n = fmul float %a, 9.020  %m = call float @qux(float %n)21  %o = fmul float %m, 9.022  ret float %o23}24