aboutsummaryrefslogtreecommitdiff
path: root/lldb/packages/Python/lldbsuite/test/gdbclientutils.py
diff options
context:
space:
mode:
authorArnab Dutta <arnab.dutta@cerebras.net>2021-11-16 15:06:45 +0530
committerUday Bondhugula <uday@polymagelabs.com>2021-11-16 15:42:22 +0530
commit1402299271c1d57784f77dd577949e4a546a4c10 (patch)
treeb067a8279082e184a872a11aa2e4a57623bcf215 /lldb/packages/Python/lldbsuite/test/gdbclientutils.py
parent40a609aebe4ab51174a164852b6399f322bf6d9a (diff)
downloadllvm-1402299271c1d57784f77dd577949e4a546a4c10.zip
llvm-1402299271c1d57784f77dd577949e4a546a4c10.tar.gz
llvm-1402299271c1d57784f77dd577949e4a546a4c10.tar.bz2
[MLIR] Simplify semi-affine expressions using flattening
For the semi affine expressions, whenever rhs of a floordiv, ceildiv, mod or product expression is a symbolic expression, we introduce a local variable representing the result, and store the floordiv/ceildiv, mod or product affine expression in LocalExprs. In this way the expression is flattened, and trivial addition and subtraction related simplifications are performed. Also rule based matching for detecting and transforming "expr - q * (expr floordiv q)" to "expr mod q", where q is a symbolic exxpression, in simplifyAdd function. Differential Revision: https://reviews.llvm.org/D112808
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/gdbclientutils.py')
0 files changed, 0 insertions, 0 deletions