diff --git a/llvm/lib/Target/PowerPC/PPCLowerMASSVEntries.cpp b/llvm/lib/Target/PowerPC/PPCLowerMASSVEntries.cpp --- a/llvm/lib/Target/PowerPC/PPCLowerMASSVEntries.cpp +++ b/llvm/lib/Target/PowerPC/PPCLowerMASSVEntries.cpp @@ -82,8 +82,9 @@ if (Subtarget->hasP8Vector()) return "P8"; - report_fatal_error("Unsupported Subtarget: MASSV is supported only on " - "Power8 and Power9 subtargets."); + report_fatal_error( + "-vector-library=MASSV option is supported only on Power8 and later " + "subtargets when vectorization is not disabled."); } /// Creates PowerPC subtarget-specific name corresponding to the specified