diff options
author | River Riddle <riverriddle@google.com> | 2020-01-14 15:23:05 -0800 |
---|---|---|
committer | River Riddle <riverriddle@google.com> | 2020-01-14 15:23:31 -0800 |
commit | fa9dd8336bbd1167926f93fe2018d0c47839d5d6 (patch) | |
tree | f151e58b0e13a0a551105863f832192c0126a1e9 /clang/lib/CodeGen/CodeGenAction.cpp | |
parent | 23058f9dd4d7e18239fd63b6da52549514b45fda (diff) | |
download | llvm-fa9dd8336bbd1167926f93fe2018d0c47839d5d6.zip llvm-fa9dd8336bbd1167926f93fe2018d0c47839d5d6.tar.gz llvm-fa9dd8336bbd1167926f93fe2018d0c47839d5d6.tar.bz2 |
[mlir] Refactor ModuleState into AsmState and expose it to users.
Summary:
This allows for users to cache printer state, which can be costly to recompute. Each of the IR print methods gain a new overload taking this new state class.
Depends On D72293
Reviewed By: jpienaar
Differential Revision: https://reviews.llvm.org/D72294
Diffstat (limited to 'clang/lib/CodeGen/CodeGenAction.cpp')
0 files changed, 0 insertions, 0 deletions