brintos

brintos / llvm-project-archived public Read only

0
0
Text · 455 B · 3041d2e Raw
11 lines · plain
1; RUN: not opt -S -dxil-intrinsic-expansion -dxil-op-lower -mtriple=dxil-pc-shadermodel6.3-library %s 2>&1 | FileCheck %s2 3; DXIL operation normalize does not support double overload type4; CHECK: Cannot create Dot2 operation: Invalid overload type5 6define noundef <2 x double> @test_normalize_double2(<2 x double> noundef %p0) {7entry:8  %hlsl.normalize = call <2 x double> @llvm.dx.normalize.v2f32(<2 x double> %p0)9  ret <2 x double> %hlsl.normalize10}11