If we call CGOpenCLRuntime::convertOpenCLSpecificType() multiple times
we should get the same type back.
Details
Details
- Reviewers
svenvh Anastasia - Commits
- rG2724c153f929: [clang] Cache OpenCL types
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
This is a functionality fix.
Also is there any way to test this?
I came across this while working on another patch. This should be NFC with ToT clang, but was required my other patch. Since this part was easily split apart I wanted to do that.
Separately I think this makes sense in general.
Maybe it can be named CachedTys?