[all-commits] [llvm/llvm-project] df5a90: [OpenCL] Add ExtVectorElementExpr constant evaluat...
Sven van Haastregt via All-commits
all-commits at lists.llvm.org
Tue Dec 17 03:10:48 PST 2019
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: df5a905aa8a868bdb700d88e427491ee56243e30
https://github.com/llvm/llvm-project/commit/df5a905aa8a868bdb700d88e427491ee56243e30
Author: Sven van Haastregt <sven.vanhaastregt at arm.com>
Date: 2019-12-17 (Tue, 17 Dec 2019)
Changed paths:
M clang/lib/AST/ExprConstant.cpp
M clang/test/CodeGenOpenCLCXX/constexpr.cl
Log Message:
-----------
[OpenCL] Add ExtVectorElementExpr constant evaluation (PR42387)
Add constexpr evaluation for ExtVectorElementExpr nodes by evaluating
the underlying vector expression. Add basic folding for the case that
Evaluate does not return an LValue.
Differential Revision: https://reviews.llvm.org/D71133
More information about the All-commits
mailing list