[all-commits] [llvm/llvm-project] 4da744: [OpenCL] Fix as_type3 invalid store creation
Sven van Haastregt via All-commits
all-commits at lists.llvm.org
Wed Sep 29 01:40:27 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4da744a20ff58c9b3d8df0e2eb9e8b69d9e5cc3d
https://github.com/llvm/llvm-project/commit/4da744a20ff58c9b3d8df0e2eb9e8b69d9e5cc3d
Author: Sven van Haastregt <sven.vanhaastregt at arm.com>
Date: 2021-09-29 (Wed, 29 Sep 2021)
Changed paths:
M clang/lib/CodeGen/CGExprScalar.cpp
M clang/test/CodeGenOpenCL/preserve_vec3.cl
Log Message:
-----------
[OpenCL] Fix as_type3 invalid store creation
With -fpreserve-vec3-type enabled, a cast was not created when
converting from a non-vec3 type to a vec3 type, even though a
conversion to vec3 was performed. This resulted in creation of
invalid store instructions.
Differential Revision: https://reviews.llvm.org/D108470
More information about the All-commits
mailing list