[all-commits] [llvm/llvm-project] 88383f: [llvm-exegesis] if lit can't find llvm-exegesis, f...

Ties Stuij via All-commits all-commits at lists.llvm.org
Mon Mar 27 08:35:33 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 88383f18f3a693f9ea02733c680a32961e038b1e
  Author: Ties Stuij <ties.stuij at arm.com>
  Date:   2023-03-27 (Mon, 27 Mar 2023)

  Changed paths:
    M llvm/test/tools/llvm-exegesis/lit.local.cfg

  Log Message:
  [llvm-exegesis] if lit can't find llvm-exegesis, fail gracefully

currently in can_use_perfcounters() in
llvm/test/tools/llvm-exegesis/lit.local.cfg, we check if we can execute
llvm-exegesis. But we don't check if we did actually find llvm-exegesis. If we
didn't, lit.util.which() will return None, and we try to execute that.

Reviewed By: courbet

Differential Revision: https://reviews.llvm.org/D146964

More information about the All-commits mailing list