================
@@ -6930,6 +6930,20 @@ Value *llvm::simplifyBinaryIntrinsic(Intrinsic::ID IID,
Type *ReturnType,
return Constant::getNullValue(ReturnType);
break;
}
+ case Intrinsic::pdep: {
+ if (match(Op1, m_Zero()))
----------------
topperc wrote:Can we also fold to 0 if the Op0 is 0? https://github.com/llvm/llvm-project/pull/204144 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
