Skip to content

[SYCL][Compilation] Question on Mangling of Record Types #304

Closed
@agozillon

Description

@agozillon

So I was looking through some Kernel IR recently and I had a question on why we're currently mangling RecordDecl's during CodeGen inside of the addRecordTypeName function, snippet here: https://github.com/intel/llvm/blob/sycl/clang/lib/CodeGen/CodeGenTypes.cpp#L64

There is a comment right now but it isn't too descriptive (probably because I lack the background knowledge) to me about what the problem it's solving is, to me it seems to be a Re-flower thing, as it mentions reflown to a proper name? If it is a Re-flower related segment of code, do we still require it as we've removed the Re-flower pass?

We currently don't have an issue with this piece of code, but I was interested in what the workaround is currently for! Thanks.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions