aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python
diff options
context:
space:
mode:
authorYi-Chi Lee <55395582+yichi170@users.noreply.github.com>2025-10-10 23:34:33 +0800
committerGitHub <noreply@github.com>2025-10-11 00:34:33 +0900
commita9c8e94b43e2c1777247e3b99769b948b1a38c66 (patch)
tree4c2dd089c63163dcc319b0f17d460c95b99b0ace /lldb/source/Plugins/ScriptInterpreter/Python
parent93d326038959fd87fb666a8bf97d774d0abb3591 (diff)
downloadllvm-a9c8e94b43e2c1777247e3b99769b948b1a38c66.zip
llvm-a9c8e94b43e2c1777247e3b99769b948b1a38c66.tar.gz
llvm-a9c8e94b43e2c1777247e3b99769b948b1a38c66.tar.bz2
[DAGCombiner] Extend FP-to-Int cast without requiring nsz (#161093)
This patch updates the FP-to-Int conversion handling: - For signed integers: use `ftrunc` followed by clamping to the target integer range. - For unsigned integers: apply `fabs` + `ftrunc`, then clamp. This removes the previous dependence on `nsz` and ensures correct lowering for both signed and unsigned cases. I've tested the code generation of -mtriple=amdgcn. It seems that the assembly code is expected, but I'm not sure how to write a general testcase for every target. Fixes #160623.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python')
0 files changed, 0 insertions, 0 deletions