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

Peter Waller via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 24 10:26:20 PDT 2024


================
@@ -1,6 +1,22 @@
-# RUN: not llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=btver2 %s 2>&1 | FileCheck %s
+# RUN: llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=btver2 -skip-unsupported-instructions %s |& FileCheck --check-prefix=CHECK-SKIP %s
+# RUN: not llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=btver2 %s |& FileCheck --check-prefix=CHECK-ERROR %s
----------------
peterwaller-arm wrote:

I figured this made sense for the other views showing instructions so I included those as well as your request.

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


More information about the llvm-commits mailing list