Files
clang-p2996/llvm/test/CodeGen/AMDGPU/umed3.ll
Yingwei Zheng 4d28d3f93b [SDAG] Turn umin into smin if the saturation pattern is broken (#88505)
As we canonicalizes smin with non-negative operands into umin in the
middle-end, the saturation pattern will be broken.
This patch reverts the transform in DAGCombine to fix the regression on
ARM.

Fixes https://github.com/llvm/llvm-project/issues/85706.
2024-04-16 01:28:28 +08:00

26 KiB