File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -757,10 +757,9 @@ class OpLowerer {
757
757
continue ;
758
758
default : {
759
759
std::string Msg =
760
- llvm::formatv (" Unsupported intrinsic {0} for DXIL lowering" ,
761
- F.getName ())
760
+ formatv (" Unsupported intrinsic {0} for DXIL lowering" , F.getName ())
762
761
.str ();
763
- DiagnosticInfoUnsupported Diag (F, Msg);
762
+ DiagnosticInfoGeneric Diag (Msg);
764
763
M.getContext ().diagnose (Diag);
765
764
HasErrors |= true ;
766
765
break ;
Original file line number Diff line number Diff line change 1
1
; RUN: not opt -S -dxil-op-lower -mtriple=dxil-pc-shadermodel6.3-library %s 2>&1 | FileCheck %s
2
2
3
- ; CHECK: Unsupported intrinsic llvm.vector.reduce.and.v4i32 for DXIL lowering
3
+ ; CHECK: error: Unsupported intrinsic llvm.vector.reduce.and.v4i32 for DXIL lowering
4
4
define i32 @fn_and (<4 x i32 > %0 ) local_unnamed_addr #0 {
5
5
%2 = tail call i32 @llvm.vector.reduce.and.v4i32 (<4 x i32 > %0 )
6
6
ret i32 %2
You can’t perform that action at this time.
0 commit comments