diff options
| author | Wenju He <wenju.he@intel.com> | 2026-02-11 12:31:17 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-02-11 12:31:17 +0800 |
| commit | fbad717b9a09af5abafbeba859646d1ab05213d5 (patch) | |
| tree | 911ba8a872e48561e1574c54e4a374582c54a5dd /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
| parent | f0546e79ca569e7f44126a8617714fd9a9d15854 (diff) | |
| download | llvm-fbad717b9a09af5abafbeba859646d1ab05213d5.tar.gz llvm-fbad717b9a09af5abafbeba859646d1ab05213d5.tar.bz2 llvm-fbad717b9a09af5abafbeba859646d1ab05213d5.zip | |
[OpenCL] Diagnose invalid conversion from pointer to vector (#180318)
Fix crash in clang PrepareScalarCast when compiling OpenCL source: void
foo() {
int a[3] = {1, 2, 3};
int3 b = (int3)(a);
}
PrepareScalarCast requires scalar src, but the provided src is a
pointer.
Resolves https://github.com/intel/compute-runtime/issues/888
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions
