aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenAction.cpp
diff options
context:
space:
mode:
authorJacques Pienaar <jpienaar@google.com>2023-04-29 05:35:53 -0700
committerJacques Pienaar <jpienaar@google.com>2023-04-29 05:35:53 -0700
commit0610e2f6a2d42d83ff7a75729b3afa45d75729cc (patch)
tree6d6890e2a7144375f08f55b71be9ec1ebf69f1ab /clang/lib/CodeGen/CodeGenAction.cpp
parentcb133a4629a56f8c8a67fb7549356839917b52f9 (diff)
downloadllvm-0610e2f6a2d42d83ff7a75729b3afa45d75729cc.zip
llvm-0610e2f6a2d42d83ff7a75729b3afa45d75729cc.tar.gz
llvm-0610e2f6a2d42d83ff7a75729b3afa45d75729cc.tar.bz2
[mlir][bytecode] Allow client to specify a desired version.
Add method to set a desired bytecode file format to generate. Change write method to be able to return status including the minimum bytecode version needed by reader. This enables generating an older version of the bytecode (not dialect ops, attributes or types). But this does not guarantee that an older version can always be generated, e.g., if a dialect uses a new encoding only available at later bytecode version. This clamps setting to at most current version. Differential Revision: https://reviews.llvm.org/D146555
Diffstat (limited to 'clang/lib/CodeGen/CodeGenAction.cpp')
0 files changed, 0 insertions, 0 deletions