26 lines · plain
1; RUN: llc < %s -mtriple=x86_64-apple-macosx -mattr=+sse2 -enable-misched -misched=ilpmax | FileCheck -check-prefix=MAX %s2; RUN: llc < %s -mtriple=x86_64-apple-macosx -mattr=+sse2 -enable-misched -misched=ilpmin | FileCheck -check-prefix=MIN %s3;4; Basic verification of the ScheduleDAGILP metric.5;6; MAX: addss7; MAX: addss8; MAX: addss9; MAX: subss10; MAX: addss11;12; MIN: addss13; MIN: addss14; MIN: subss15; MIN: addss16; MIN: addss17define float @ilpsched(float %a, float %b, float %c, float %d, float %e, float %f) nounwind uwtable readnone ssp {18entry:19 %add = fadd float %a, %b20 %add1 = fadd float %c, %d21 %add2 = fadd float %e, %f22 %add3 = fsub float %add1, %add223 %add4 = fadd float %add, %add324 ret float %add425}26