brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.7 KiB · c4cf8b7 Raw
20 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_analyze_test_checks.py2; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -passes="print<cost-model>" 2>&1 -disable-output -cost-kind=all -mattr=+avx512fp16 | FileCheck %s3 4define void @test_vXf16(<2 x half> %src32, <4 x half> %src64, <8 x half> %src128, <16 x half> %src256, <32 x half> %src512) {5; CHECK-LABEL: 'test_vXf16'6; CHECK-NEXT:  Cost Model: Found costs of RThru:1 CodeSize:1 Lat:3 SizeLat:1 for: %V32 = shufflevector <2 x half> %src32, <2 x half> undef, <2 x i32> zeroinitializer7; CHECK-NEXT:  Cost Model: Found costs of RThru:1 CodeSize:1 Lat:3 SizeLat:1 for: %V64 = shufflevector <4 x half> %src64, <4 x half> undef, <4 x i32> zeroinitializer8; CHECK-NEXT:  Cost Model: Found costs of RThru:1 CodeSize:1 Lat:3 SizeLat:1 for: %V128 = shufflevector <8 x half> %src128, <8 x half> undef, <8 x i32> zeroinitializer9; CHECK-NEXT:  Cost Model: Found costs of RThru:1 CodeSize:1 Lat:3 SizeLat:1 for: %V256 = shufflevector <16 x half> %src256, <16 x half> undef, <16 x i32> zeroinitializer10; CHECK-NEXT:  Cost Model: Found costs of RThru:1 CodeSize:1 Lat:3 SizeLat:1 for: %V512 = shufflevector <32 x half> %src512, <32 x half> undef, <32 x i32> zeroinitializer11; CHECK-NEXT:  Cost Model: Found costs of RThru:0 CodeSize:1 Lat:1 SizeLat:1 for: ret void12;13  %V32  = shufflevector <2 x half> %src32, <2 x half> undef, <2 x i32> zeroinitializer14  %V64  = shufflevector <4 x half> %src64, <4 x half> undef, <4 x i32> zeroinitializer15  %V128 = shufflevector <8 x half> %src128, <8 x half> undef, <8 x i32> zeroinitializer16  %V256 = shufflevector <16 x half> %src256, <16 x half> undef, <16 x i32> zeroinitializer17  %V512 = shufflevector <32 x half> %src512, <32 x half> undef, <32 x i32> zeroinitializer18  ret void19}20