Index: llvm/lib/Target/X86/X86ISelLowering.cpp =================================================================== --- llvm/lib/Target/X86/X86ISelLowering.cpp +++ llvm/lib/Target/X86/X86ISelLowering.cpp @@ -96,8 +96,8 @@ static void errorUnsupported(SelectionDAG &DAG, const SDLoc &dl, const char *Msg) { MachineFunction &MF = DAG.getMachineFunction(); - DAG.getContext()->diagnose( - DiagnosticInfoUnsupported(MF.getFunction(), Msg, dl.getDebugLoc())); + DAG.getContext()->diagnose(DiagnosticInfoUnsupported( + MF.getFunction(), Msg, dl.getDebugLoc(), DS_Warning)); } X86TargetLowering::X86TargetLowering(const X86TargetMachine &TM,