[all-commits] [llvm/llvm-project] 1ce01b: [SCEVExpander] Simplify cleanup, skip sorting by d...
Florian Hahn via All-commits
all-commits at lists.llvm.org
Sun Jan 9 10:39:06 PST 2022
Author: Florian Hahn <flo at fhahn.com>
Date: 2022-01-09 (Sun, 09 Jan 2022)
[SCEVExpander] Simplify cleanup, skip sorting by dominance.
There is no need to sort inserted instructions by dominance, as the
deletion loop still requires RAUW with undef before deleting. Removing
instructions in reverse insertion order should still insure that the
number of uselist updates is kept to a minimum.
More information about the All-commits