HomePhabricator

[Driver] Linux.cpp: delete unneeded D.getVFS().exists checks

Authored by MaskRay on Wed, Mar 24, 3:19 PM.

Description

[Driver] Linux.cpp: delete unneeded D.getVFS().exists checks

Not only can this save unneeded filesystem stats, it can make `clang
--sysroot=/path/to/debian-sysroot -c a.cc` work (get `-internal-isystem
$sysroot/usr/include/x86_64-linux-gnu`) even without lib/x86_64-linux-gnu/.
This should make thakis happy.

Details

Committed
MaskRayWed, Mar 24, 3:25 PM
Parents
rG19435d3863e5: [mlir][linalg] Fold fill -> tensor_reshape chain
Branches
Unknown
Tags
Unknown