[llvm] [GlobalIsel] Speedup select to integer min/max (PR #92378)

Thorsten Schütt via llvm-commits llvm-commits at lists.llvm.org
Thu May 16 05:05:46 PDT 2024


================
@@ -6810,9 +6791,6 @@ bool CombinerHelper::matchSelect(MachineInstr &MI, BuildFnTy &MatchInfo) {
   if (tryFoldBoolSelectToLogic(Select, MatchInfo))
     return true;
 
-  if (tryFoldSelectToIntMinMax(Select, MatchInfo))
----------------
tschuett wrote:

It was invoked for many selects in the function and probably failed a lot for no win.

https://github.com/llvm/llvm-project/pull/92378


More information about the llvm-commits mailing list