[all-commits] [llvm/llvm-project] eea5c2: [DAGCombiner] Pass SDNodeFlags to getNode instead ...
Craig Topper via All-commits
all-commits at lists.llvm.org
Mon Jul 14 20:53:35 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: eea5c291bbf5177061021a980bc1369bac2d75b9
https://github.com/llvm/llvm-project/commit/eea5c291bbf5177061021a980bc1369bac2d75b9
Author: Craig Topper <craig.topper at sifive.com>
Date: 2025-07-14 (Mon, 14 Jul 2025)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Log Message:
-----------
[DAGCombiner] Pass SDNodeFlags to getNode instead of modifying nodes. (#148744)
getNode has logic to intersect flags correctly if the new node happens
to CSE with an existing node. Setting node flags after getNode bypasses
this logic and may change the node for other uses where the flags don't
hold.
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