OSDN Git Service

LoopIdiom: Fix a serious missed optimization: we only turned top-level loops into...
authorBenjamin Kramer <benny.kra@googlemail.com>
Tue, 30 Oct 2012 19:49:39 +0000 (19:49 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Tue, 30 Oct 2012 19:49:39 +0000 (19:49 +0000)
commit415f869cf30a272072c0533a2dea85496a210309
tree2247a9569fd2d983c2c29032d559130478cc04b8
parent8a69a95f913dadae92d2ce0b3ac551610bf868e0
LoopIdiom: Fix a serious missed optimization: we only turned top-level loops into memmove.

Thanks to Preston Briggs for catching this!

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