summaryrefslogtreecommitdiff
path: root/mlir/test/python/lib/PythonTestCAPI.cpp
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2021-10-23 18:12:54 +0200
committerNikita Popov <nikita.ppv@gmail.com>2021-10-25 10:56:25 +0200
commit75384ecdf8049b6eb8934790f1239c0c6c0a2502 (patch)
treec9e5a89f857797c23a77e95b50994d3b7650860b /mlir/test/python/lib/PythonTestCAPI.cpp
parenta6c4969f5f451d40a1eef86e75689e2d90aa3a4a (diff)
[InstSimplify] Refactor invariant.group load folding
Currently strip.invariant/launder.invariant are handled by constructing constant expressions with the intrinsics skipped. This takes an alternative approach of accumulating the offset using stripAndAccumulateConstantOffsets(), with a flag to look through invariant.group intrinsics. Differential Revision: https://reviews.llvm.org/D112382
Diffstat (limited to 'mlir/test/python/lib/PythonTestCAPI.cpp')
0 files changed, 0 insertions, 0 deletions