summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Hello
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2012-12-17 13:07:30 +0000
committerChandler Carruth <chandlerc@gmail.com>2012-12-17 13:07:30 +0000
commitb6bc8749e8a55102fcb601322cd7b3def90466ed (patch)
treed9470d9a09800e68fbadb94eb53e3c2a392e5c8d /llvm/lib/Transforms/Hello
parent769445ef03e3ac5967694f79a66f9af5b8c6acad (diff)
downloadbcm5719-llvm-b6bc8749e8a55102fcb601322cd7b3def90466ed.tar.gz
bcm5719-llvm-b6bc8749e8a55102fcb601322cd7b3def90466ed.zip
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. llvm-svn: 170325
Diffstat (limited to 'llvm/lib/Transforms/Hello')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud