[all-commits] [llvm/llvm-project] 5d87ba: [HLSL] Use llvm::Triple::EnvironmentType instead o...
Helena Kotas via All-commits
all-commits at lists.llvm.org
Fri Jun 7 21:30:26 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 5d87ba1c1f584dfbd5afaf187099b43681b2206d
https://github.com/llvm/llvm-project/commit/5d87ba1c1f584dfbd5afaf187099b43681b2206d
Author: Helena Kotas <hekotas at microsoft.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M clang/include/clang/Basic/Attr.td
M clang/include/clang/Sema/SemaHLSL.h
M clang/lib/CodeGen/CGHLSLRuntime.cpp
M clang/lib/Sema/SemaHLSL.cpp
Log Message:
-----------
[HLSL] Use llvm::Triple::EnvironmentType instead of HLSLShaderAttr::ShaderType (#93847)
`HLSLShaderAttr::ShaderType` enum is a subset of
`llvm::Triple::EnvironmentType`. We can use
`llvm::Triple::EnvironmentType` directly and avoid converting one enum
to another.
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