Use the LiveVariables information to efficiently get local kills. This
authorChandler Carruth <chandlerc@gmail.com>
Fri, 13 Jul 2012 21:18:38 +0000 (21:18 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Fri, 13 Jul 2012 21:18:38 +0000 (21:18 +0000)
commit558341590938dec2bf0eb1679b7a990afa61d676
treeb47ac84ea36109eb5eba782d7c7ec636ce227950
parentb76fb96cd66aec709e2a0cfda8c29c53ba5ad98c
Use the LiveVariables information to efficiently get local kills. This
removes the largest scaling problem in the test cases from PR13225 when
ASan is switched to insert basic blocks in the natural CFG order.

It may also solve some scaling problems for more normal code with large
numbers of basic blocks and variables.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160194 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/TwoAddressInstructionPass.cpp