[PATCH] D96151: [OpenCL] Fix pipe type printing in arg info metadata

Anastasia Stulova via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Feb 5 09:20:58 PST 2021


Anastasia created this revision.
Anastasia added reviewers: svenvh, mantognini.
Herald added subscribers: ebevhan, yaxunl.
Anastasia requested review of this revision.

Pipe element type spelling for arg info matadata should follow the same behavior as normal type spelling. We should not return the canonical type.

This patch also removed type handling duplication.


https://reviews.llvm.org/D96151

Files:
  clang/lib/CodeGen/CodeGenModule.cpp
  clang/test/CodeGenOpenCL/kernel-arg-info.cl

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D96151.321799.patch
Type: text/x-patch
Size: 8107 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210205/2eea1e8a/attachment-0001.bin>


More information about the cfe-commits mailing list