[all-commits] [llvm/llvm-project] ed9a10: [HLSL] Avoid putting the byval attribute on out an...
Deric C. via All-commits
all-commits at lists.llvm.org
Thu Jul 24 13:54:22 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ed9a1027a482d18b3cf063e8bcc6e31a4c7dc024
https://github.com/llvm/llvm-project/commit/ed9a1027a482d18b3cf063e8bcc6e31a4c7dc024
Author: Deric C. <cheung.deric at gmail.com>
Date: 2025-07-24 (Thu, 24 Jul 2025)
Changed paths:
M clang/lib/CodeGen/CGCall.cpp
M clang/test/CodeGenHLSL/BasicFeatures/ArrayOutputArguments.hlsl
Log Message:
-----------
[HLSL] Avoid putting the byval attribute on out and inout parameters (#150495)
Fixes #148063 by preventing the ByVal attribute from being placed on out
and inout function parameters which causes them to be eliminated by the
Dead Store Elimination (DSE) pass.
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