OSDN Git Service

implement an initial hack at a straight-line store -> memset optimization.
authorChris Lattner <sabre@nondot.org>
Sat, 22 Mar 2008 05:37:16 +0000 (05:37 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 22 Mar 2008 05:37:16 +0000 (05:37 +0000)
commitb017c9e89cdd971a992a414e29caad0232b89a0d
tree18acc6a6e983aaeeb5e3e1d80b59e62b045a2b5e
parentd27290d733acc50542e7a619a592e6a2aafd3883
implement an initial hack at a straight-line store -> memset optimization.
This fires dozens of times across spec and multisource, but I don't know
if it actually speeds stuff up.  Hopefully the testers will show something
nice :)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48680 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/GVN.cpp
test/Transforms/GVN/form-memset.ll [new file with mode: 0644]