diff options
author | Yingwei Zheng <dtcxzyw2333@gmail.com> | 2024-04-16 01:28:28 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-16 01:28:28 +0800 |
commit | 4d28d3f93bfee3cecbeb234d1ce306250e12e912 (patch) | |
tree | e4a98970bb772908662bed6a39dd59c27c152759 /llvm/lib/Analysis/ModuleSummaryAnalysis.cpp | |
parent | 64dc55835a1552dbe74eef79460094014edf659e (diff) | |
download | llvm-4d28d3f93bfee3cecbeb234d1ce306250e12e912.zip llvm-4d28d3f93bfee3cecbeb234d1ce306250e12e912.tar.gz llvm-4d28d3f93bfee3cecbeb234d1ce306250e12e912.tar.bz2 |
[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.
Diffstat (limited to 'llvm/lib/Analysis/ModuleSummaryAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions