Add constexpr evaluation for ExtVectorElementExpr nodes by evaluating
the underlying vector expression.
Add basic folding too, for the case that Evaluate does not return an
LValue.
Differential D71133
[OpenCL] Add ExtVectorElementExpr constant evaluation (PR42387) Authored by svenvh on Dec 6 2019, 10:36 AM.
Details Add constexpr evaluation for ExtVectorElementExpr nodes by evaluating Add basic folding too, for the case that Evaluate does not return an
Diff Detail
Event Timeline
Comment Actions LGTM! Thanks!
| ||||||||||||||||||
can Val not be vector at this point?