[PATCH] D143472: [clang] Cast the pointer to right type with different address space

2023-02-09 Thread Chunyang, Dai via Phabricator via cfe-commits
cdai2 updated this revision to Diff 496275. cdai2 added a comment. Update cases to cover both opaque pointer and typed pointer Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D143472/new/ https://reviews.llvm.org/D143472 Files: clang/lib/CodeGen/CG

[PATCH] D143472: [clang] Cast the pointer to right type with different address space

2023-02-08 Thread Chunyang, Dai via Phabricator via cfe-commits
cdai2 updated this revision to Diff 496033. cdai2 added a comment. [clang] update test case Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D143472/new/ https://reviews.llvm.org/D143472 Files: clang/lib/CodeGen/CGBuiltin.cpp clang/test/CodeGen/X8

[PATCH] D143630: [clang] update test case

2023-02-08 Thread Chunyang, Dai via Phabricator via cfe-commits
cdai2 created this revision. Herald added a subscriber: pengfei. Herald added a project: All. cdai2 requested review of this revision. Herald added a project: clang. Herald added a subscriber: cfe-commits. Repository: rG LLVM Github Monorepo https://reviews.llvm.org/D143630 Files: clang/test

[PATCH] D143472: [clang] Cast the pointer to right type with different address space

2023-02-07 Thread Chunyang, Dai via Phabricator via cfe-commits
cdai2 created this revision. Herald added subscribers: pengfei, arichardson, Anastasia. Herald added a project: All. cdai2 requested review of this revision. Herald added a project: clang. Herald added a subscriber: cfe-commits. The source type has OpenCL general address space but dest type does n

[PATCH] D142948: [OpenCL] Disable vector to scalar types coercion for OpenCL

2023-01-30 Thread Chunyang, Dai via Phabricator via cfe-commits
cdai2 updated this revision to Diff 493470. cdai2 added a comment. Forget code format Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D142948/new/ https://reviews.llvm.org/D142948 Files: clang/include/clang/Basic/LangOptions.def clang/include/cla

[PATCH] D142948: [OpenCL] Disable vector to scalar types coercion for OpenCL

2023-01-30 Thread Chunyang, Dai via Phabricator via cfe-commits
cdai2 created this revision. Herald added subscribers: Naghasan, ldrumm, pengfei, Anastasia, yaxunl. Herald added a project: All. cdai2 requested review of this revision. Herald added a project: clang. Herald added a subscriber: cfe-commits. For x86 target, vector types (both result and arguments)