[all-commits] [llvm/llvm-project] 47a170: [SelectionDAG][X86] Use disjoint flag in Selection...
Craig Topper via All-commits
all-commits at lists.llvm.org
Wed Jan 3 11:54:43 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 47a1704ac94c8aeb1aa7e0fc438ff99d36b632c6
https://github.com/llvm/llvm-project/commit/47a1704ac94c8aeb1aa7e0fc438ff99d36b632c6
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-01-03 (Wed, 03 Jan 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
M llvm/test/CodeGen/X86/addsub-constant-folding.ll
M llvm/test/CodeGen/X86/or-lea.ll
Log Message:
-----------
[SelectionDAG][X86] Use disjoint flag in SelectionDAG::isADDLike. (#76847)
Keep the haveNoCommonBitsSet check because we haven't started inferring
the flag yet.
I've added tests for two transforms, but these are not the only
transforms that use isADDLike.
More information about the All-commits
mailing list