diff --git a/llvm/lib/MC/MCParser/AsmParser.cpp b/llvm/lib/MC/MCParser/AsmParser.cpp --- a/llvm/lib/MC/MCParser/AsmParser.cpp +++ b/llvm/lib/MC/MCParser/AsmParser.cpp @@ -6327,7 +6327,7 @@ MCAsmParser *llvm::createMCAsmParser(SourceMgr &SM, MCContext &C, MCStreamer &Out, const MCAsmInfo &MAI, unsigned CB) { - if (C.getTargetTriple().isOSzOS()) + if (C.getTargetTriple().isOSBinFormatGOFF()) return new HLASMAsmParser(SM, C, Out, MAI, CB); return new AsmParser(SM, C, Out, MAI, CB);