When eliminating comparisons, we can use common dominator of
all its users as context. This gives better results when ICMP is not
computed right before the branch that uses it.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
LGTM, thanks.
Also, this appears to be a win overall
https://llvm-compile-time-tracker.com/compare.php?from=19d2c65ddd757997785163709800f837857f686d&to=68b16450c5394e36bafd8d21ad236e7d1e5d92ab&stat=instructions