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