The source type has OpenCL general address space but dest type does
not have address space. Address space cast is needed for this scenario.
Details
Details
- Reviewers
Anastasia
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Unit Tests
Time | Test | |
---|---|---|
620 ms | x64 debian > Clang.Driver::rocm-detect.hip |
Event Timeline
clang/lib/CodeGen/CGBuiltin.cpp | ||
---|---|---|
12412 | I think the semantics of builtin functions is that they accept any address space. So you should preserve the address space from Ops[1]. |
clang-format not found in user’s local PATH; not linting file.