[all-commits] [llvm/llvm-project] 9ce772: [HLSL] Add __spirv__ macro (#132848)

Cassandra Beckley via All-commits all-commits at lists.llvm.org
Fri Mar 28 07:49:40 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9ce77255b9a48b024e434e5c4017da07fc44bbe1
      https://github.com/llvm/llvm-project/commit/9ce77255b9a48b024e434e5c4017da07fc44bbe1
  Author: Cassandra Beckley <cbeckley at google.com>
  Date:   2025-03-28 (Fri, 28 Mar 2025)

  Changed paths:
    M clang/lib/Basic/Targets/SPIR.cpp
    M clang/test/Preprocessor/predefined-macros-hlsl.hlsl

  Log Message:
  -----------
  [HLSL] Add __spirv__ macro (#132848)

This macro can be used by HLSL code to detect that it is being compiled
for the SPIR-V target.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list