[clang] [HLSL] Rewrite semantics parsing (PR #152537)

Chris B via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 14 06:47:07 PDT 2025


================
@@ -440,13 +476,13 @@ void CGHLSLRuntime::emitEntryFunction(const FunctionDecl *FD,
                                               Fn->getAttributes().getFnAttrs());
   EntryFn->setAttributes(NewAttrs);
   setHLSLEntryAttributes(FD, EntryFn);
+  llvm::SmallVector<Value *> Args;
----------------
llvm-beanz wrote:

Looks like moving this was unnecessary. Probably best to not move it just to reduce code churn.

https://github.com/llvm/llvm-project/pull/152537


More information about the cfe-commits mailing list