summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorFelix Schneider <fx.schn@gmail.com>2024-05-22 09:02:31 +0200
committerGitHub <noreply@github.com>2024-05-22 09:02:31 +0200
commit2034f2fc8729bd4645ef7caa3c5c6efa284d2d3f (patch)
tree3f2700949f5f43e5e875dddaf6fea750c4b9dca5 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parent1015f51dd94a6154df7183004743e1a86e566858 (diff)
[mlir][intrange] Use `nsw`,`nuw` flags in inference (#92642)
This patch includes the "no signed wrap" and "no unsigned wrap" flags, which can be used to annotate some Ops in the `arith` dialect and also in LLVMIR, in the integer range inference. The general approach is to use saturating arithmetic operations to infer bounds which are assumed to not wrap and use overflowing arithmetic operations in the normal case. If overflow is detected in the normal case, special handling makes sure that we don't underestimate the result range.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions