[PATCH] D19382: [OpenMP] Improve mappable expressions Sema.
Samuel Antao via cfe-commits
cfe-commits at lists.llvm.org
Thu Apr 21 11:55:56 PDT 2016
sfantao created this revision.
sfantao added reviewers: ABataev, hfinkel, carlo.bertolli, arpith-jacob, kkwli0.
sfantao added subscribers: caomhin, cfe-commits.
This patch adds logic to save the components of mappable expressions in the clause that uses it, so that they don't have to be recomputed during codegen. Given that the mappable components are (will be) used in several clauses a new geneneric implementation `OMPMappableExprListClause` is used that extends the existing `OMPVarListClause`.
This patch does not add new tests. The goal is to preserve the existing functionality while storing more info in the clauses.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 55065 bytes
Desc: not available
More information about the cfe-commits