diff options
| author | Quentin Colombet <qcolombet@apple.com> | 2017-10-13 21:16:05 +0000 |
|---|---|---|
| committer | Quentin Colombet <qcolombet@apple.com> | 2017-10-13 21:16:05 +0000 |
| commit | 86220488b420cbe2e1a34b035714c950e7d5a0bc (patch) | |
| tree | 6b387364d536128e2602ecb7fd626fbe1e2ae861 /llvm/lib/CodeGen/RegAllocBase.cpp | |
| parent | 3e3dd1dbd7055e37614d693c2b0291cc8c97484d (diff) | |
| download | bcm5719-llvm-86220488b420cbe2e1a34b035714c950e7d5a0bc.tar.gz bcm5719-llvm-86220488b420cbe2e1a34b035714c950e7d5a0bc.zip | |
[Legalizer] Only allocate the SetVectors once per function.
Prior to this patch we used to create SetVectors in temporaries that
were created and destroyed for each instruction. Now, instead we create
and destroyed them only once, but clear the content for each
instruction.
This speeds up the pass by ~25%.
NFC.
llvm-svn: 315756
Diffstat (limited to 'llvm/lib/CodeGen/RegAllocBase.cpp')
0 files changed, 0 insertions, 0 deletions

