[PATCH] D106091: [PowerPC] Improve error message on MASSV pass

Masoud Ataei via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 16 07:38:28 PDT 2021


masoud.ataei updated this revision to Diff 359318.

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D106091/new/

https://reviews.llvm.org/D106091

Files:
  llvm/lib/Target/PowerPC/PPCLowerMASSVEntries.cpp


Index: llvm/lib/Target/PowerPC/PPCLowerMASSVEntries.cpp
===================================================================
--- llvm/lib/Target/PowerPC/PPCLowerMASSVEntries.cpp
+++ 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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D106091.359318.patch
Type: text/x-patch
Size: 671 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210716/c3533bf7/attachment.bin>


More information about the llvm-commits mailing list