diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2012-12-17 13:07:30 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2012-12-17 13:07:30 +0000 |
commit | 5c531eb8b121b83ad14ac5cf94c8fd9c50ef6f5b (patch) | |
tree | d5a2fbddfb5fbbdfa018cf5a5fe14c4e31979ee2 /lib/Target/SparcV9/ModuloScheduling/ModuloSchedGraph.cpp | |
parent | 8ab1efd5fcff755b4ccc86d6d3da52cfe7cf0b9d (diff) |
Lift the extractVector helper all the way out to a static helper function.
The method helpers all implicitly act upon the alloca, and what we
really want is a fully generic helper. Doing memcpy rewrites is more
special than all other rewrites because we are at times rewriting
instructions which touch pointers *other* than the alloca. As
a consequence all of the helpers needed by memcpy rewriting of
sub-vector copies will need to be generalized fully.
Note that all of these helpers ({insert,extract}{Integer,Vector}) are
woefully uncommented. I'm going to go back through and document them
once I get the factoring correct.
No functionality changed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@170325 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/SparcV9/ModuloScheduling/ModuloSchedGraph.cpp')
0 files changed, 0 insertions, 0 deletions