aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineBasicBlock.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@sifive.com>2024-12-10 22:18:46 -0800
committerGitHub <noreply@github.com>2024-12-10 22:18:46 -0800
commit5797ed660ab0c1847bd6229af262f841b2f753ae (patch)
tree4f4a3f0ef94a08e97ed4d2e7185ddc80e9178811 /llvm/lib/CodeGen/MachineBasicBlock.cpp
parentd78fe84d49b3db675ae4c502ead38ce9e5c2539f (diff)
downloadllvm-5797ed660ab0c1847bd6229af262f841b2f753ae.zip
llvm-5797ed660ab0c1847bd6229af262f841b2f753ae.tar.gz
llvm-5797ed660ab0c1847bd6229af262f841b2f753ae.tar.bz2
[GISel][SDAG] Avoid push_back in loops for some shuffle mask handling. (#119434)
Each call to push_back contains a check to see if the vector needs to grow. Using resize or giving the size to the constructor can reduce the number of checks for growing.
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions