[llvm] r326124 - opt-viewer: also find thinlto opt.yaml files
Adam Nemet via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 26 13:15:49 PST 2018
Author: anemet
Date: Mon Feb 26 13:15:49 2018
New Revision: 326124
URL: http://llvm.org/viewvc/llvm-project?rev=326124&view=rev
Log:
opt-viewer: also find thinlto opt.yaml files
Modified:
llvm/trunk/tools/opt-viewer/optrecord.py
Modified: llvm/trunk/tools/opt-viewer/optrecord.py
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/opt-viewer/optrecord.py?rev=326124&r1=326123&r2=326124&view=diff
==============================================================================
--- llvm/trunk/tools/opt-viewer/optrecord.py (original)
+++ llvm/trunk/tools/opt-viewer/optrecord.py Mon Feb 26 13:15:49 2018
@@ -328,6 +328,6 @@ def find_opt_files(*dirs_or_files):
subdirs[:] = [d for d in subdirs
if not os.path.ismount(os.path.join(dir, d))]
for file in files:
- if fnmatch.fnmatch(file, "*.opt.yaml"):
+ if fnmatch.fnmatch(file, "*.opt.yaml*"):
all.append(os.path.join(dir, file))
return all
More information about the llvm-commits
mailing list