Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tree-optimization/117104 - add missed guards to max(a,b) != a simplif…
…ication For vector types we have to make sure the comparison result is a vector type and the resulting compare operation is supported. As the resulting compare is never an equality compare I didn't bother to check for the cbranch case. PR tree-optimization/117104 * match.pd ((cmp:c (minmax:c @0 @1) @0) -> (out @0 @1)): Properly guard the vector case. * gcc.dg/pr117104.c: New testcase.
- Loading branch information