[llvm] [GISel] Fold shifts to constant result. (PR #123510)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 20 02:40:48 PST 2025
================
@@ -6590,12 +6590,55 @@ bool CombinerHelper::matchRedundantBinOpInEquality(MachineInstr &MI,
return CmpInst::isEquality(Pred) && Y.isValid();
}
-bool CombinerHelper::matchShiftsTooBig(MachineInstr &MI) const {
+static std::optional<unsigned>
----------------
lialan wrote:
True that the name is wrong, updated.
https://github.com/llvm/llvm-project/pull/123510
More information about the llvm-commits
mailing list