summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/thread/main.cpp
diff options
context:
space:
mode:
authorNicolas Vasilache <ntv@google.com>2020-01-02 15:25:21 -0500
committerNicolas Vasilache <ntv@google.com>2020-01-06 09:41:38 -0500
commitd67c4cc2eb4ddc450c886598b934c111e721ab0c (patch)
tree3f4c0712f32c86f6e99e32898c69b53fc94bd45b /lldb/packages/Python/lldbsuite/test/python_api/thread/main.cpp
parentd45aafa2fbcf66f3dafdc7c5e0a0ce3709914cbc (diff)
downloadbcm5719-llvm-d67c4cc2eb4ddc450c886598b934c111e721ab0c.tar.gz
bcm5719-llvm-d67c4cc2eb4ddc450c886598b934c111e721ab0c.zip
[mlir][Linalg] Reimplement and extend getStridesAndOffset
Summary: This diff reimplements getStridesAndOffset in a significantly simpler way by operating on the AffineExpr and calling into simplifyAffineExpr instead of rolling its own saturating arithmetic. As a consequence it becomes quite simple to extend the behavior of getStridesAndOffset to encompass more cases by manipulating the AffineExpr more directly. The divisions are still filtered out and continue to yield fully dynamic strides. Simplifying the divisions is left for a later time if compelling use cases arise. Relevant tests are added. Reviewers: ftynse Subscribers: mehdi_amini, rriddle, jpienaar, burmako, shauheen, antiagainst, arpith-jacob, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D72098
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/thread/main.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud