diff options
author | Roman Lebedev <lebedev.ri@gmail.com> | 2021-01-10 16:25:15 +0300 |
---|---|---|
committer | Roman Lebedev <lebedev.ri@gmail.com> | 2021-01-11 00:30:44 +0300 |
commit | 8e8d214c4a6c417e42996faeb9211a5c2e32111f (patch) | |
tree | 94e2c72c2c0e4c84b1323fe3b05cd84db86d8e32 /llvm/lib/CodeGen/MachineBasicBlock.cpp | |
parent | 13dea030b3d794d05a08dd0080c35844c9ca1b30 (diff) | |
download | llvm-8e8d214c4a6c417e42996faeb9211a5c2e32111f.zip llvm-8e8d214c4a6c417e42996faeb9211a5c2e32111f.tar.gz llvm-8e8d214c4a6c417e42996faeb9211a5c2e32111f.tar.bz2 |
[NFCI][SimplifyCFG] Prefer to add Insert edges before Delete edges into DomTreeUpdater, if reasonable
This has a measurable impact on the number of DomTree recalculations.
While this doesn't handle all the cases,
it deals with the most obvious ones.
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions