aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CGHLSLRuntime.cpp
diff options
context:
space:
mode:
authorChris Bieneman <chris.bieneman@me.com>2022-09-21 10:29:26 -0500
committerChris Bieneman <chris.bieneman@me.com>2022-09-21 10:31:25 -0500
commitbc97751a236e619dc33f81e9fc9b3fe6bd0ba7b6 (patch)
tree78674e9bcc4120b3070d2c8d2480b4278901d3fb /clang/lib/CodeGen/CGHLSLRuntime.cpp
parent10207fc5ae4c8d1d6c6959f7f88cd52f9fd402e3 (diff)
downloadllvm-bc97751a236e619dc33f81e9fc9b3fe6bd0ba7b6.zip
llvm-bc97751a236e619dc33f81e9fc9b3fe6bd0ba7b6.tar.gz
llvm-bc97751a236e619dc33f81e9fc9b3fe6bd0ba7b6.tar.bz2
[NFC] Add GitHub issues to HLSL FIXME comments
In order to make this easier to track I've filed issues for each of the HLSL FIXME comments that I can find. I may have missed some, but I want this to be the new default mode.
Diffstat (limited to 'clang/lib/CodeGen/CGHLSLRuntime.cpp')
-rw-r--r--clang/lib/CodeGen/CGHLSLRuntime.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CGHLSLRuntime.cpp b/clang/lib/CodeGen/CGHLSLRuntime.cpp
index 8e00887..c61a658 100644
--- a/clang/lib/CodeGen/CGHLSLRuntime.cpp
+++ b/clang/lib/CodeGen/CGHLSLRuntime.cpp
@@ -143,6 +143,7 @@ void CGHLSLRuntime::emitEntryFunction(const FunctionDecl *FD,
IRBuilder<> B(BB);
llvm::SmallVector<Value *> Args;
// FIXME: support struct parameters where semantics are on members.
+ // See: https://github.com/llvm/llvm-project/issues/57874
for (const auto *Param : FD->parameters()) {
Args.push_back(emitInputSemantic(B, *Param));
}
@@ -150,6 +151,7 @@ void CGHLSLRuntime::emitEntryFunction(const FunctionDecl *FD,
CallInst *CI = B.CreateCall(FunctionCallee(Fn), Args);
(void)CI;
// FIXME: Handle codegen for return type semantics.
+ // See: https://github.com/llvm/llvm-project/issues/57875
B.CreateRetVoid();
}