aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/Compression.cpp
diff options
context:
space:
mode:
authorAlex Zinenko <zinenko@google.com>2020-08-05 14:44:03 +0200
committerAlex Zinenko <zinenko@google.com>2020-08-06 00:36:33 +0200
commitb2ab375d1f08ab0faecc20f0340cb972f31010a7 (patch)
tree6421c96ea8681c2b1fbf6198fdf4d10f9c28fac0 /llvm/lib/Support/Compression.cpp
parente1de85f9f4dae68b2c83d8821515c1f5db765baa (diff)
downloadllvm-b2ab375d1f08ab0faecc20f0340cb972f31010a7.zip
llvm-b2ab375d1f08ab0faecc20f0340cb972f31010a7.tar.gz
llvm-b2ab375d1f08ab0faecc20f0340cb972f31010a7.tar.bz2
[mlir] use the new stateful LLVM type translator by default
Previous type model in the LLVM dialect did not support identified structure types properly and therefore could use stateless translations implemented as free functions. The new model supports identified structs and must keep track of the identified structure types present in the target context (LLVMContext or MLIRContext) to avoid creating duplicate structs due to LLVM's type auto-renaming. Expose the stateful type translation classes and use them during translation, storing the state as part of ModuleTranslation. Drop the test type translation mechanism that is no longer necessary and update the tests to exercise type translation as part of the main translation flow. Update the code in vector-to-LLVM dialect conversion that relied on stateless translation to use the new class in a stateless manner. Reviewed By: rriddle Differential Revision: https://reviews.llvm.org/D85297
Diffstat (limited to 'llvm/lib/Support/Compression.cpp')
0 files changed, 0 insertions, 0 deletions