Home | History | Annotate | Download | only in X86
      1 ; REQUIRES: asserts
      2 ; RUN: llc < %s -mtriple=x86_64-linux   | FileCheck %s
      3 ; RUN: llc < %s -mtriple=x86_64-linux -regalloc=greedy | FileCheck %s
      4 ; RUN: llc < %s -mtriple=i386-linux -mattr=+sse2 | FileCheck %s
      5 ; CHECK:     LCPI
      6 ; CHECK:     LCPI
      7 ; CHECK:     LCPI
      8 ; CHECK-NOT: LCPI
      9 
     10 ; RUN: llc < %s -mtriple=x86_64-linux -o /dev/null -stats -info-output-file - | FileCheck %s -check-prefix=X64stat
     11 ; X64stat: 6 asm-printer
     12 
     13 ; RUN: llc < %s -march=x86 -mattr=+sse2 -o /dev/null -stats -info-output-file - | FileCheck %s -check-prefix=X32stat
     14 ; X32stat: 12 asm-printer
     15 
     16 declare float @qux(float %y)
     17 
     18 define float @array(float %a) nounwind {
     19   %n = fmul float %a, 9.0
     20   %m = call float @qux(float %n)
     21   %o = fmul float %m, 9.0
     22   ret float %o
     23 }
     24