diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2005-04-26 19:55:57 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2005-04-26 19:55:57 +0000 |
commit | 43fd4d077f22e6b71a8a96c6662c9a15dab0f330 (patch) | |
tree | 4647e69d5dbc63f49b093da1637be1eabfb1adc6 /lib/Transforms/Utils/Local.cpp | |
parent | fcbdb9c85bd94b1603446fef15cf08e51c842d68 (diff) |
Fix some bugs found by running on llvm-test:
* MemCpyOptimization can only be optimized if the 3rd and 4th arguments are
constants and we weren't checking for that.
* The result of llvm.memcpy (and llvm.memmove) is void* not sbyte*, put in
a cast.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21570 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Utils/Local.cpp')
0 files changed, 0 insertions, 0 deletions