File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -778,7 +778,8 @@ class OpLowerer {
778778 case Intrinsic::not_intrinsic:
779779 continue ;
780780 default : {
781- DiagnosticInfoUnsupported Diag (F, " Unknown intrinsic?" );
781+ DiagnosticInfoUnsupported Diag (
782+ F, " Unsupported intrinsic for DXIL lowering" );
782783 M.getContext ().diagnose (Diag);
783784 HasErrors |= true ;
784785 break ;
Original file line number Diff line number Diff line change 11; RUN: not opt -S -dxil-op-lower -mtriple=dxil-pc-shadermodel6.3-library %s 2>&1 | FileCheck %s
22
3- ; CHECK: error: <unknown>:0:0: in function llvm.vector.reduce.and.v4i32 i32 (<4 x i32>): Unknown intrinsic?
3+ ; CHECK: error: <unknown>:0:0: in function llvm.vector.reduce.and.v4i32 i32 (<4 x i32>): Unsupported intrinsic for DXIL lowering
44define i32 @fn_and (<4 x i32 > %0 ) local_unnamed_addr #0 {
55 %2 = tail call i32 @llvm.vector.reduce.and.v4i32 (<4 x i32 > %0 )
66 ret i32 %2
You can’t perform that action at this time.
0 commit comments