commit | 43fd4d077f22e6b71a8a96c6662c9a15dab0f330 | [log] [tgz] |
---|---|---|
author | Reid Spencer <rspencer@reidspencer.com> | Tue Apr 26 19:55:57 2005 +0000 |
committer | Reid Spencer <rspencer@reidspencer.com> | Tue Apr 26 19:55:57 2005 +0000 |
tree | 4647e69d5dbc63f49b093da1637be1eabfb1adc6 | |
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