[all-commits] [llvm/llvm-project] 13e1a6: [HLSL] Enable vector types for hlsl.

Xiang Li via All-commits all-commits at lists.llvm.org
Tue May 31 13:54:31 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 13e1a653278ba4a9805f0247c5bc92dad720aab3
      https://github.com/llvm/llvm-project/commit/13e1a653278ba4a9805f0247c5bc92dad720aab3
  Author: Xiang Li <python3kgae at outlook.com>
  Date:   2022-05-31 (Tue, 31 May 2022)

  Changed paths:
    M clang/include/clang/Driver/Options.td
    M clang/lib/Basic/LangOptions.cpp
    M clang/lib/Driver/ToolChains/Clang.cpp
    M clang/lib/Frontend/CompilerInvocation.cpp
    M clang/lib/Frontend/InitPreprocessor.cpp
    M clang/lib/Headers/CMakeLists.txt
    A clang/lib/Headers/hlsl.h
    A clang/lib/Headers/hlsl/hlsl_basic_types.h
    A clang/test/CodeGenHLSL/basic_types.hlsl
    A clang/test/Driver/hlsl_no_stdinc.hlsl

  Log Message:
  -----------
  [HLSL] Enable vector types for hlsl.

Vector types in hlsl is using clang ext_vector_type.
Declaration of vector types is in builtin header hlsl.h.
hlsl.h will be included by default for hlsl shader.

Reviewed By: Anastasia

Differential Revision: https://reviews.llvm.org/D125052




More information about the All-commits mailing list