Commit 813459ed authored by Simon Pilgrim's avatar Simon Pilgrim
Browse files

[X86] combineSelect fold 'smin' style pattern select(pcmpgt(RHS, LHS), LHS,...

[X86] combineSelect fold 'smin' style pattern select(pcmpgt(RHS, LHS), LHS, RHS) -> select(pcmpgt(LHS, RHS), RHS, LHS) if pcmpgt(LHS, RHS) already exists

Avoids repeated commuted comparisons when we're performing min/max and clamp patterns
parent d4b4747d
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment