brintos

brintos / llvm-project-archived public Read only

0
0
Text · 437 B · aaf17d9 Raw
12 lines · plain
1; RUN: not opt -S -dxil-op-lower -mtriple=dxil-pc-shadermodel6.3-library %s 2>&1 | FileCheck %s2 3; CHECK: error: Unsupported intrinsic llvm.vector.reduce.and.v4i32 for DXIL lowering4define i32 @fn_and(<4 x i32> %0) local_unnamed_addr #0 {5  %2 = tail call i32 @llvm.vector.reduce.and.v4i32(<4 x i32> %0)6  ret i32 %27}8 9declare i32 @llvm.vector.reduce.and.v4i32(<4 x i32>)10 11attributes #0 = { convergent norecurse nounwind "hlsl.export"}12