http://llvm.org/bugs/show_bug.cgi?id=21555
Bug ID: 21555
Summary: "-cl-kernel-arg-info" option does not work correctly
when compiling with spir as target
Product: clang
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: LLVM Codegen
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
Created attachment 13332
--> http://llvm.org/bugs/attachment.cgi?id=13332&action=edit
with "-cl-kernel-arg-info" option
>From the spir specification section 2.4:
"""
These objects are gen- erated for every kernel, with an exception for the
kernel_arg_name metadata, which is generated only when the -cl-kernel-arg-info
build option is specified for compilation.
"""
The argument is only mean to omit the metadata for the "kernel_arg_name" node,
yet it omits the metadata for all many of the other metadata nodes (like
"kernel_arg_type")
I attached the files add.ll and add-no-arg-info.ll that show the problem.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs