abs should only produce a positive value or the signed minimum
value. This means we can't fold abs(undef) to undef as that would
allow more values. Fold to 0 instead to match InstSimplify.
Fixes test mentioned in comment on pr55271.
 Differential  D126174  
[SelectionDAG] Fold abs(undef) to 0 instead of undef. Authored by craig.topper on May 22 2022, 12:41 PM. 
Details abs should only produce a positive value or the signed minimum Fixes test mentioned in comment on pr55271. 
Diff Detail 
  |