[llvm] Adding abdu/abds to canCreateUndefOrPoison (PR #149017)
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 16 00:20:40 PDT 2025
================
@@ -5619,6 +5619,8 @@ bool SelectionDAG::canCreateUndefOrPoison(SDValue Op, const APInt &DemandedElts,
case ISD::ADD:
case ISD::SUB:
case ISD::MUL:
+ case ISD::ABDU:
+ case ISD::ABDS:
----------------
RKSimon wrote:
Move these up to the same case stack as the min/max opcodes - the set here are for special cases that use flags.
https://github.com/llvm/llvm-project/pull/149017
More information about the llvm-commits
mailing list