1 ; RUN: not opt -S -dxil-intrinsic-expansion -dxil-op-lower -mtriple=dxil-pc-shadermodel6.3-library %s 2>&1 | FileCheck %s
3 ; DXIL operation length does not support 1-element vector types.
4 ; CHECK: LLVM ERROR: Invalid input type for length intrinsic
6 define noundef float @test_length_float(<1 x float> noundef %p0) {
8 %hlsl.length = call float @llvm.dx.length.v1f32(<1 x float> %p0)