[PATCH] D55416: [llvm-exegesis] Also check latency mode in local lit.
Clement Courbet via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Dec 9 23:34:19 PST 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rL348740: [llvm-exegesis] Also check latency mode in local lit. (authored by courbet, committed by ).
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D55416/new/
https://reviews.llvm.org/D55416
Files:
llvm/trunk/test/tools/llvm-exegesis/X86/lit.local.cfg
Index: llvm/trunk/test/tools/llvm-exegesis/X86/lit.local.cfg
===================================================================
--- llvm/trunk/test/tools/llvm-exegesis/X86/lit.local.cfg
+++ llvm/trunk/test/tools/llvm-exegesis/X86/lit.local.cfg
@@ -20,10 +20,14 @@
else:
try:
with open(os.devnull, 'w') as quiet:
- check_llvm_exegesis_result = subprocess.call(
+ check_llvm_exegesis_uops_result = subprocess.call(
[llvm_exegesis_exe, '-mode', 'uops', '-snippets-file', '/dev/null'], stdout=quiet, stderr=quiet)
+ check_llvm_exegesis_latency_result = subprocess.call(
+ [llvm_exegesis_exe, '-mode', 'latency', '-snippets-file', '/dev/null'], stdout=quiet, stderr=quiet)
except OSError:
print('could not exec llvm-exegesis')
config.unsupported = True
- if not check_llvm_exegesis_result == 0:
+ if not check_llvm_exegesis_uops_result == 0:
+ config.unsupported = True
+ if not check_llvm_exegesis_latency_result == 0:
config.unsupported = True
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D55416.177460.patch
Type: text/x-patch
Size: 1096 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181210/15a68198/attachment.bin>
More information about the llvm-commits
mailing list