[llvm] [llvm-mca] Add -skip-unsupported-instructions option (PR #89733)

Peter Waller via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 25 03:23:51 PDT 2024


================
@@ -759,6 +783,11 @@ int main(int argc, char **argv) {
     ++RegionIdx;
   }
 
+  if (NonEmptyRegions == 0) {
+    WithColor::error() << "no assembly instructions found.\n";
----------------
peterwaller-arm wrote:

Added in the post recent push. https://github.com/llvm/llvm-project/compare/f2563d1e6e9121c4d467b07e010f7f11e0050fb4..656d305b75df683fcad44cd9de6689aad3c063c4

https://github.com/llvm/llvm-project/pull/89733


More information about the llvm-commits mailing list