diff options
-rw-r--r-- | llvm/utils/lit/lit/util.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/llvm/utils/lit/lit/util.py b/llvm/utils/lit/lit/util.py index 5f20262d4c3..8d4d9d25b19 100644 --- a/llvm/utils/lit/lit/util.py +++ b/llvm/utils/lit/lit/util.py @@ -193,10 +193,6 @@ def which(command, paths=None): if paths is None: paths = os.environ.get('PATH', '') - # Check for absolute match first. - if os.path.isfile(command): - return os.path.normpath(command) - # Would be nice if Python had a lib function for this. if not paths: paths = os.defpath |