forked from OSchip/llvm-project
Fix lit for people whose LLVM path contains 'opt', which is a common directory name on Unix-like systems.
llvm-svn: 122873
This commit is contained in:
parent
8aea3e1876
commit
c7d65b42fc
|
@ -176,9 +176,9 @@ for pattern in [r"\bbugpoint\b(?!-)", r"(?<!/)\bclang\b(?!-)",
|
||||||
r"\bllvm-stub\b", r"\bllvm2cpp\b",
|
r"\bllvm-stub\b", r"\bllvm2cpp\b",
|
||||||
# Don't match '-llvmc'.
|
# Don't match '-llvmc'.
|
||||||
r"(?<!-)\bllvmc\b", r"\blto\b",
|
r"(?<!-)\bllvmc\b", r"\blto\b",
|
||||||
# Don't match '.opt', '-opt'
|
# Don't match '.opt', '-opt',
|
||||||
# or '^opt'.
|
# '^opt' or '/opt'.
|
||||||
r"\bmacho-dump\b", r"(?<!\.|-|\^)\bopt\b",
|
r"\bmacho-dump\b", r"(?<!\.|-|\^|/)\bopt\b",
|
||||||
r"\btblgen\b", r"\bFileCheck\b",
|
r"\btblgen\b", r"\bFileCheck\b",
|
||||||
r"\bFileUpdate\b", r"\bc-index-test\b",
|
r"\bFileUpdate\b", r"\bc-index-test\b",
|
||||||
r"\bfpcmp\b", r"\bllvm-PerfectShuffle\b",
|
r"\bfpcmp\b", r"\bllvm-PerfectShuffle\b",
|
||||||
|
|
Loading…
Reference in New Issue