Files
clang-p2996/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
Simon Pilgrim 051918c71e [DAG] expandIntMINMAX - add umax(x,1) --> sub(x,cmpeq(x,0)) fold
Move the fold from X86 to generic expansion

(We also have several existing expansions that are missing freezes on repeated operands - I've added a TODO for now).
2023-05-05 19:27:52 +01:00

419 KiB