1; RUN: opt -mtriple=aarch64-linux-gnu -mattr=+sve -cost-model -analyze < %s 2>%t | FileCheck %s 2; RUN: FileCheck --check-prefix=WARN --allow-empty %s <%t 3 4; If this check fails please read clang/test/CodeGen/aarch64-sve-intrinsics/README for instructions on how to resolve it. 5; WARN-NOT: warning 6 7; CHECK: Found an estimated cost of 0 for instruction: %b = bitcast <vscale x 2 x double> %a to <vscale x 2 x i64> 8 9define <vscale x 2 x i64> @foo(<vscale x 2 x double> %a, i32 %x) { 10 %b = bitcast <vscale x 2 x double> %a to <vscale x 2 x i64> 11 ret <vscale x 2 x i64> %b 12} 13