[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:20:29 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
----------------
michaelmaitland wrote:
Can you please include `-timeline` option so we have coverage on how a skipped instruction is handled through that code path?
https://github.com/llvm/llvm-project/pull/89733
More information about the llvm-commits
mailing list