[PowerPC] Drop stdlib paths in freestanding tests
authorZhihao Yuan <zhihao.yuan@broadcom.com>
Wed, 24 Nov 2021 00:38:53 +0000 (16:38 -0800)
committerZhihao Yuan <lichray@gmail.com>
Sat, 4 Dec 2021 22:51:13 +0000 (16:51 -0600)
commit41a0e850fa30acf2ffd1c4ffda335f07ea0c249b
treebec4332f6d99cc3fbf86fc695ae4697242e33b9c
parenta9125792b3be19c40cf1ffbe17b0bd3cc0920fcc
[PowerPC] Drop stdlib paths in freestanding tests

When targeting FreeBSD on a Linux host with a copy
of system libc++, Clang prepends /usr/include/c++/v1
to the search paths even with -ffreestanding, and
fails to compile a program with a
single #include <xmmintrin.h>

Dropping the path with -nostdlibinc.

Differential Revision: https://reviews.llvm.org/D114497
clang/test/CodeGen/ppc-xmmintrin.c