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/VMCore/Type.cpp | |
parent | fcbdb9c85bd94b1603446fef15cf08e51c842d68 (diff) | |
download | external_llvm-43fd4d077f22e6b71a8a96c6662c9a15dab0f330.zip external_llvm-43fd4d077f22e6b71a8a96c6662c9a15dab0f330.tar.gz external_llvm-43fd4d077f22e6b71a8a96c6662c9a15dab0f330.tar.bz2 |
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/VMCore/Type.cpp')
0 files changed, 0 insertions, 0 deletions