[LLVMbugs] [Bug 21555] New: "-cl-kernel-arg-info" option does not work correctly when compiling with spir as target
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Wed Nov 12 19:32:32 PST 2014
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: unassignedclangbugs at nondot.org
Reporter: ryan.burn at gmail.com
CC: llvmbugs at cs.uiuc.edu
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20141113/09ee7bf8/attachment.html>
More information about the llvm-bugs
mailing list