[all-commits] [llvm/llvm-project] bdf132: [HLSL] Entry functions require param annotation
Chris B via All-commits
all-commits at lists.llvm.org
Wed Aug 24 12:44:36 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: bdf1327fea632bf9736924acf59675182b528b23
https://github.com/llvm/llvm-project/commit/bdf1327fea632bf9736924acf59675182b528b23
Author: Chris Bieneman <chris.bieneman at me.com>
Date: 2022-08-24 (Wed, 24 Aug 2022)
Changed paths:
M clang/include/clang/AST/Attr.h
M clang/include/clang/Basic/Attr.td
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/lib/Sema/SemaDecl.cpp
A clang/test/SemaHLSL/Semantics/missing_entry_annotation.hlsl
M clang/utils/TableGen/ClangAttrEmitter.cpp
Log Message:
-----------
[HLSL] Entry functions require param annotation
HLSL entry function parameters must have parameter annotations. This
allows appropriate intrinsic values to be populated into parameters
during code generation.
This does not handle entry function return values, which will be
handled in a subsequent commit because we don't currently support any
annotations that are valid for function returns.
Reviewed By: aaron.ballman
Differential Revision: https://reviews.llvm.org/D131625
More information about the All-commits
mailing list