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 {
757757 continue ;
758758 default : {
759759 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 ())
762761 .str ();
763- DiagnosticInfoUnsupported Diag (F, Msg);
762+ DiagnosticInfoGeneric Diag (Msg);
764763 M.getContext ().diagnose (Diag);
765764 HasErrors |= true ;
766765 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: Unsupported intrinsic llvm.vector.reduce.and.v4i32 for DXIL lowering
3+ ; CHECK: error: Unsupported intrinsic llvm.vector.reduce.and.v4i32 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