Compile time improvements to VirtRegRewriter.
authorPuyan Lotfi <puyan@puyan.org>
Fri, 22 May 2015 08:11:26 +0000 (08:11 +0000)
committerPuyan Lotfi <puyan@puyan.org>
Fri, 22 May 2015 08:11:26 +0000 (08:11 +0000)
This change to VirtRegRewriter::addMBBLiveIns adds live-in registers for each
MachineBasicBlock's LiveIns set without isLiveIn checks as they are being added
because doing so is expensive. After all live-in registers are added, the LiveIn
vectors are sorted and uniqued.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@238008 91177308-0d34-0410-b5e6-96231b3b80d8


No differences found