diff options
author | Nick Lewycky <nicholas@mxc.ca> | 2009-01-05 00:07:50 +0000 |
---|---|---|
committer | Nick Lewycky <nicholas@mxc.ca> | 2009-01-05 00:07:50 +0000 |
commit | 6cd0c048b88b96f90d0dd126995f014527c36a3d (patch) | |
tree | 3cbac8c493602f7f673ac8c03b2babe00dd8ca67 /lib/Target/CellSPU/SPUNodes.td | |
parent | 81e21674a6b7328ec6b4ad3841493c2ed23cc35d (diff) | |
download | external_llvm-6cd0c048b88b96f90d0dd126995f014527c36a3d.zip external_llvm-6cd0c048b88b96f90d0dd126995f014527c36a3d.tar.gz external_llvm-6cd0c048b88b96f90d0dd126995f014527c36a3d.tar.bz2 |
Move the libcall annotating part from doFinalization to doInitialization.
Finalization occurs after all the FunctionPasses in the group have run, which
is clearly not what we want.
This also means that we have to make sure that we apply the right param
attributes when creating a new function.
Also, add a missed optimization: strdup and strndup. NoCapture and
NoAlias return!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61658 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/CellSPU/SPUNodes.td')
0 files changed, 0 insertions, 0 deletions