[llvm] [llvm-mca] Add -skip-unsupported-instructions option (PR #89733)
    Michael Maitland via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Wed Apr 24 10:29:02 PDT 2024
    
    
  
================
@@ -759,6 +783,11 @@ int main(int argc, char **argv) {
     ++RegionIdx;
   }
 
+  if (NonEmptyRegions == 0) {
+    WithColor::error() << "no assembly instructions found.\n";
----------------
michaelmaitland wrote:
Can you please add test coverage for this case?
https://github.com/llvm/llvm-project/pull/89733
    
    
More information about the llvm-commits
mailing list