================
@@ -544,6 +586,9 @@ Instruction 
*InstCombinerImpl::foldSelectIntrinsic(SelectInst &SI) {
     return replaceInstUsesWith(SI, NewCall);
   }
   default:
+    if (isTriviallyVectorizable(IID))
+      return foldSelectIntoIntrinsicArg(SI, LHSIntrinsic, RHSIntrinsic,
+                                        Builder);
----------------
nikic wrote:

Should subsume the ctpop case above?

https://github.com/llvm/llvm-project/pull/227737
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to