commit | 1d93a190e62ec1588b4724ca8759216b2d0b76d7 | [log] [tgz] |
---|---|---|
author | David Gross <dgross@google.com> | Wed Mar 25 14:59:27 2015 -0700 |
committer | David Gross <dgross@google.com> | Thu Mar 26 10:50:01 2015 -0700 |
tree | 545c6b105354471fc37116acee2a471ad49d70f0 | |
parent | 35b02efaf73f024527c7962b209c5169c4dbf8d4 [diff] |
Add RSInvariant pass to recognize Load from RsExpandKernelDriverInfo as invariant. This allows more-aggressive optimization of foreachexp-generated code and of the rsGet*(rs_kernel_context) API functions. In particular, it facilitates LICM of Loads out of the wrapper loop in a .expand function. Bug: 18964628 Change-Id: I77a87b325724ca08c4a04f5a46f316be78a5e0fd