diff options
| author | jyli0116 <yu.li@arm.com> | 2025-08-21 15:37:53 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-08-21 15:37:53 +0100 |
| commit | dbadab96eb5c52f1f6fa6233aa084f3047873dc4 (patch) | |
| tree | 724ec1c6854593c4a3aa1034e63908b336d6c643 /lldb/packages/Python/lldbsuite/test/lldbtest.py | |
| parent | 3f97736181eea7de5ce24beebcbdfd4dcc5c2f09 (diff) | |
| download | llvm-dbadab96eb5c52f1f6fa6233aa084f3047873dc4.zip llvm-dbadab96eb5c52f1f6fa6233aa084f3047873dc4.tar.gz llvm-dbadab96eb5c52f1f6fa6233aa084f3047873dc4.tar.bz2 | |
[GlobalISel] Support saturated truncate (#150219)
Implements combining and legalization of G_TRUNC_SSAT_S, G_TRUNC_SSAT_U,
and G_TRUNC_USAT_U, which where previously added to SDAG with the below
patterns:
```
truncate(smin(smax(x, C1), C2)) -> trunc_ssat_s(x)
truncate(smax(smin(x, C2), C1)) -> trunc_ssat_s(x)
truncate(smax(smin(x, C), 0)) -> trunc_ssat_u(x)
truncate(smin(smax(x, 0), C)) -> trunc_ssat_u(x)
truncate(umin(smax(x, 0), C)) -> trunc_ssat_u(x)
truncate(umin(x, C)) -> trunc_usat_u(x)
```
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lldbtest.py')
0 files changed, 0 insertions, 0 deletions
