We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f7cef6 commit f625438Copy full SHA for f625438
IGC/Compiler/CISACodeGen/OpenCLKernelCodeGen.cpp
@@ -1,6 +1,6 @@
1
/*========================== begin_copyright_notice ============================
2
3
-Copyright (C) 2017-2023 Intel Corporation
+Copyright (C) 2017-2025 Intel Corporation
4
5
SPDX-License-Identifier: MIT
6
@@ -596,7 +596,7 @@ namespace IGC
596
Type* argType = entry->getFunctionType()->getParamType(argIndex);
597
if (argumentIter->hasByValAttr())
598
{
599
- argType = argType->getContainedType(0);
+ argType = argumentIter->getParamByValType();
600
}
601
602
result += utostr(m_DL->getTypeAllocSize(argType));
0 commit comments