From c4eb8035ed6647e58d4c5161f393e9220f7402cf Mon Sep 17 00:00:00 2001 From: Nico Weber Date: Mon, 30 May 2022 14:10:21 -0400 Subject: Revert "[HLSL] Enable vector types for hlsl." This reverts commit e576280380d3f5221cfcc14e9fabeacc8506a43c. Breaks tests on mac/arm, see comment on https://reviews.llvm.org/D125052 Also revert follow-up "[gn build] Port e576280380d3" This reverts commit 1e01b1ec72031fcaceb4e77e1c5c8e34f1e862e8. --- clang/lib/Frontend/CompilerInvocation.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'clang/lib/Frontend/CompilerInvocation.cpp') diff --git a/clang/lib/Frontend/CompilerInvocation.cpp b/clang/lib/Frontend/CompilerInvocation.cpp index a51d462..32b084d 100644 --- a/clang/lib/Frontend/CompilerInvocation.cpp +++ b/clang/lib/Frontend/CompilerInvocation.cpp @@ -4202,10 +4202,6 @@ static void GeneratePreprocessorArgs(PreprocessorOptions &Opts, ((LangOpts.DeclareOpenCLBuiltins && I == "opencl-c-base.h") || I == "opencl-c.h")) continue; - // Don't generate HLSL includes. They are implied by other flags that are - // generated elsewhere. - if (LangOpts.HLSL && I == "hlsl.h") - continue; GenerateArg(Args, OPT_include, I, SA); } -- cgit v1.1