Add another InstCombine pass after LoopUnroll.
authorWei Mi <wmi@google.com>
Thu, 14 May 2015 22:02:54 +0000 (22:02 +0000)
committerWei Mi <wmi@google.com>
Thu, 14 May 2015 22:02:54 +0000 (22:02 +0000)
commit95f7517f1bf0bc4d9dc29a8d07df8395d8abc906
treeeee5e765e77bf33d8200c482415592710f65273b
parent42d0f8304e6b66d71f62701290628eb1378e57de
Add another InstCombine pass after LoopUnroll.

This is to cleanup some redundency generated by LoopUnroll pass. Such redundency may not be cleaned up by existing passes after LoopUnroll.

Differential Revision: http://reviews.llvm.org/D9777

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@237395 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/IPO/PassManagerBuilder.cpp
test/Transforms/LoopUnroll/unroll-cleanup.ll [new file with mode: 0644]