[unroll] Use a small set to de-duplicate operands prior to putting them
authorChandler Carruth <chandlerc@gmail.com>
Fri, 13 Feb 2015 03:48:38 +0000 (03:48 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Fri, 13 Feb 2015 03:48:38 +0000 (03:48 +0000)
commit76908cba94b4e6c3d8cdd8322facfa1c283439da
treea2e5edd6dfb6de9b4e05fd67712e45933de29171
parent595a99573a01a5ab51e2ab32322c3a735362ded4
[unroll] Use a small set to de-duplicate operands prior to putting them
into the worklist. This avoids allocating lots of worklist memory for
them when there are large numbers of repeated operands.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@229052 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/LoopUnrollPass.cpp