[all-commits] [llvm/llvm-project] 667942: Check if getNode folded to undef instead
Matt Arsenault via All-commits
all-commits at lists.llvm.org
Tue Jan 14 20:17:08 PST 2025
Branch: refs/heads/users/arsenm/dag-fix-scalarize-bin-op-of-splats-overdefining-one-undef-operand
Home: https://github.com/llvm/llvm-project
Commit: 667942923f57d80619f4416d4131a7785f5da4e1
https://github.com/llvm/llvm-project/commit/667942923f57d80619f4416d4131a7785f5da4e1
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2025-01-15 (Wed, 15 Jan 2025)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Log Message:
-----------
Check if getNode folded to undef instead
Commit: 0fd42cfc29f65bf7bc5cfda0f1c1e0ececc69825
https://github.com/llvm/llvm-project/commit/0fd42cfc29f65bf7bc5cfda0f1c1e0ececc69825
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2025-01-15 (Wed, 15 Jan 2025)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Log Message:
-----------
Don't bother counting the undefs
It folds to undef or a constant and seems to have the best result
anyway rather than overdefining by splatting the variable value.
Compare: https://github.com/llvm/llvm-project/compare/673b88fbbe88...0fd42cfc29f6
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