; RUN: opt -mtriple=aarch64-linux-gnu -mattr=+sve -passes="print" 2>&1 -disable-output < %s | FileCheck %s ; Integer to float bitcasts target datalayout = "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128" define @test_nxv2f64( %a) { ; CHECK-LABEL: test_nxv2f64 ; CHECK: Found an estimated cost of 0 for instruction: %b = bitcast %a to %b = bitcast %a to ret %b } define @test_nxv2f16( %a) { ; CHECK-LABEL: test_nxv2f16 ; CHECK: Found an estimated cost of 0 for instruction: %b = bitcast %a to %b = bitcast %a to ret %b } define @test_nxv4f16( %a) { ; CHECK-LABEL: test_nxv4f16 ; CHECK: Found an estimated cost of 0 for instruction: %b = bitcast %a to %b = bitcast %a to ret %b } define @test_nxv2f32( %a) { ; CHECK-LABEL: test_nxv2f32 ; CHECK: Found an estimated cost of 0 for instruction: %b = bitcast %a to %b = bitcast %a to ret %b } ; Float to integer bitcasts define @test_nxv2i64( %a) { ; CHECK-LABEL: test_nxv2i64 ; CHECK: Found an estimated cost of 0 for instruction: %b = bitcast %a to %b = bitcast %a to ret %b } define @test_nxv2i16( %a) { ; CHECK-LABEL: test_nxv2i16 ; CHECK: Found an estimated cost of 0 for instruction: %b = bitcast %a to %b = bitcast %a to ret %b } define @test_nxv4i16( %a) { ; CHECK-LABEL: test_nxv4i16 ; CHECK: Found an estimated cost of 0 for instruction: %b = bitcast %a to %b = bitcast %a to ret %b } define @test_nxv2i32( %a) { ; CHECK-LABEL: test_nxv2i32 ; CHECK: Found an estimated cost of 0 for instruction: %b = bitcast %a to %b = bitcast %a to ret %b }