19 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_analyze_test_checks.py UTC_ARGS: --version 52; RUN: opt < %s -passes="print<cost-model>" 2>&1 -disable-output -mtriple=aarch64-unknown-linux -mattr=+sme | FileCheck %s3 4define double @extract_case7(<4 x double> %a) "aarch64_pstate_sm_enabled" {5; CHECK-LABEL: 'extract_case7'6; CHECK-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %0 = extractelement <4 x double> %a, i32 17; CHECK-NEXT: Cost Model: Found an estimated cost of 0 for instruction: %1 = extractelement <4 x double> %a, i32 28; CHECK-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %res = fmul double %0, %19; CHECK-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret double %res10;11entry:12 %1 = extractelement <4 x double> %a, i32 113 %2 = extractelement <4 x double> %a, i32 214 %res = fmul double %1, %215 ret double %res16}17 18declare void @foo(double)19