; NOTE: Assertions have been autogenerated by utils/update_analyze_test_checks.py ; RUN: opt -passes="print" -cost-kind=all 2>&1 -disable-output -mtriple aarch64-linux-gnu -mattr=+sve -S -o - < %s | FileCheck %s target triple = "aarch64-unknown-linux-gnu" define void @sve_ext() { ; CHECK-LABEL: 'sve_ext' ; CHECK-NEXT: Cost Model: Found costs of 2 for: %zext_nxv16_i8_to_i16 = zext poison to ; CHECK-NEXT: Cost Model: Found costs of 6 for: %zext_nxv16_i8_to_i32 = zext poison to ; CHECK-NEXT: Cost Model: Found costs of 14 for: %zext_nxv16_i8_to_i64 = zext poison to ; CHECK-NEXT: Cost Model: Found costs of 2 for: %zext_nxv8_i16_to_i32 = zext poison to ; CHECK-NEXT: Cost Model: Found costs of 6 for: %zext_nxv8_i16_to_i64 = zext poison to ; CHECK-NEXT: Cost Model: Found costs of 2 for: %zext_nxv4_i32_to_i64 = zext poison to ; CHECK-NEXT: Cost Model: Found costs of 3 for: %zext_nxv4_i8_to_i64 = zext poison to ; CHECK-NEXT: Cost Model: Found costs of 3 for: %zext_nxv8_i8_to_i32 = zext poison to ; CHECK-NEXT: Cost Model: Found costs of 3 for: %zext_nxv4_i16_to_i64 = zext poison to ; CHECK-NEXT: Cost Model: Found costs of 7 for: %zext_nxv8_i8_to_i64 = zext poison to ; CHECK-NEXT: Cost Model: Found costs of 2 for: %sext_nxv16_i8_to_i16 = sext poison to ; CHECK-NEXT: Cost Model: Found costs of 6 for: %sext_nxv16_i8_to_i32 = sext poison to ; CHECK-NEXT: Cost Model: Found costs of 14 for: %sext_nxv16_i8_to_i64 = sext poison to ; CHECK-NEXT: Cost Model: Found costs of 2 for: %sext_nxv8_i16_to_i32 = sext poison to ; CHECK-NEXT: Cost Model: Found costs of 6 for: %sext_nxv8_i16_to_i64 = sext poison to ; CHECK-NEXT: Cost Model: Found costs of 2 for: %sext_nxv4_i32_to_i64 = sext poison to ; CHECK-NEXT: Cost Model: Found costs of 3 for: %sext_nxv4_i8_to_i64 = sext poison to ; CHECK-NEXT: Cost Model: Found costs of 3 for: %sext_nxv8_i8_to_i32 = sext poison to ; CHECK-NEXT: Cost Model: Found costs of 3 for: %sext_nxv4_i16_to_i64 = sext poison to ; CHECK-NEXT: Cost Model: Found costs of 7 for: %sext_nxv8_i8_to_i64 = sext poison to ; CHECK-NEXT: Cost Model: Found costs of RThru:0 CodeSize:1 Lat:1 SizeLat:1 for: ret void ; %zext_nxv16_i8_to_i16 = zext poison to %zext_nxv16_i8_to_i32 = zext poison to %zext_nxv16_i8_to_i64 = zext poison to %zext_nxv8_i16_to_i32 = zext poison to %zext_nxv8_i16_to_i64 = zext poison to %zext_nxv4_i32_to_i64 = zext poison to %zext_nxv4_i8_to_i64 = zext poison to %zext_nxv8_i8_to_i32 = zext poison to %zext_nxv4_i16_to_i64 = zext poison to %zext_nxv8_i8_to_i64 = zext poison to %sext_nxv16_i8_to_i16 = sext poison to %sext_nxv16_i8_to_i32 = sext poison to %sext_nxv16_i8_to_i64 = sext poison to %sext_nxv8_i16_to_i32 = sext poison to %sext_nxv8_i16_to_i64 = sext poison to %sext_nxv4_i32_to_i64 = sext poison to %sext_nxv4_i8_to_i64 = sext poison to %sext_nxv8_i8_to_i32 = sext poison to %sext_nxv4_i16_to_i64 = sext poison to %sext_nxv8_i8_to_i64 = sext poison to ret void }