[PATCH] D52407: [llvm-exegesis] Add lit tests.

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 25 02:40:21 PDT 2018


lebedev.ri added inline comments.


================
Comment at: llvm/trunk/test/tools/llvm-exegesis/X86/lit.local.cfg:4
+    config.unsupported = True
+
+# And we need to be running on an X86 host.
----------------
courbet wrote:
> lebedev.ri wrote:
> > You also need to be running on a CPU for which there is a llvm-exegesis-friendly sched profile (i.e. counters are specified), and you are allowed to read those counters.
> Ah, yes, thanks Roman. I'll revert this.
Can you instead do run-time detection here?
Try running that runline, and if it fails, mark as unsupported?


Repository:
  rL LLVM

https://reviews.llvm.org/D52407





More information about the llvm-commits mailing list