[all-commits] [llvm/llvm-project] 207598: [DAG] Add command line option and TLI hook to enab...
Simon Pilgrim via All-commits
all-commits at lists.llvm.org
Fri Mar 27 00:41:16 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 207598a827676af9c1d0cef8e8b1ab9c29a46ef4
https://github.com/llvm/llvm-project/commit/207598a827676af9c1d0cef8e8b1ab9c29a46ef4
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2026-03-27 (Fri, 27 Mar 2026)
Changed paths:
M llvm/include/llvm/CodeGen/TargetLowering.h
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
A llvm/test/CodeGen/X86/dag-topological-sort.ll
Log Message:
-----------
[DAG] Add command line option and TLI hook to enable DAG topological sorting (#188636)
The very first step towards #83422 - which will move DAG combines to be
processed in topological order.
There is a lot of churn on existing tests that need to be addressed
before this can be switched on globally, this patch gives the ability to
enable it both on a per-target basis, and via a command line option to
assist with testing and triage.
At the moment I'm focusing on addressing the x86 regressions (example in
the patch's basic test coverage) as that's the target I'm most familiar
with and will help with many other targets as well, but there might be
other/simpler targets that would benefit from earlier handling.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list