aboutsummaryrefslogtreecommitdiff
path: root/mlir/lib/Bytecode/Reader/BytecodeReader.cpp
diff options
context:
space:
mode:
authorMehdi Amini <joker.eph@gmail.com>2023-05-23 03:04:21 -0700
committerMehdi Amini <joker.eph@gmail.com>2023-05-25 15:15:47 -0700
commita6d09d4b1ac224ed90ee8ff6c964a2bff39421c7 (patch)
treea3f1edda1b58c68b25c80e83727c44833b520134 /mlir/lib/Bytecode/Reader/BytecodeReader.cpp
parent7c847ac4bd1bd8a89c7fbb4581328fa8cb0498f1 (diff)
downloadllvm-a6d09d4b1ac224ed90ee8ff6c964a2bff39421c7.zip
llvm-a6d09d4b1ac224ed90ee8ff6c964a2bff39421c7.tar.gz
llvm-a6d09d4b1ac224ed90ee8ff6c964a2bff39421c7.tar.bz2
Add a `-verify-roundtrip` option to `mlir-opt` intended to validate custom printer/parser completeness
Running: MLIR_OPT_CHECK_IR_ROUNDTRIP=1 ninja check-mlir will now exercises all of our test with a round-trip to bytecode and a comparison for equality. Reviewed By: rriddle, ftynse, jpienaar Differential Revision: https://reviews.llvm.org/D90088
Diffstat (limited to 'mlir/lib/Bytecode/Reader/BytecodeReader.cpp')
0 files changed, 0 insertions, 0 deletions