[all-commits] [llvm/llvm-project] 5c90e1: [mlir][bytecode] Return error instead of min version
Jacques Pienaar via All-commits
all-commits at lists.llvm.org
Sun Apr 30 22:11:17 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 5c90e1ffb009478a644f9bd6439f37f96b09e399
https://github.com/llvm/llvm-project/commit/5c90e1ffb009478a644f9bd6439f37f96b09e399
Author: Jacques Pienaar <jpienaar at google.com>
Date: 2023-04-30 (Sun, 30 Apr 2023)
Changed paths:
M mlir/include/mlir-c/IR.h
M mlir/include/mlir/Bytecode/BytecodeWriter.h
M mlir/lib/Bindings/Python/IRCore.cpp
M mlir/lib/Bindings/Python/IRModule.h
M mlir/lib/Bytecode/Writer/BytecodeWriter.cpp
M mlir/lib/CAPI/IR/IR.cpp
M mlir/lib/Tools/mlir-lsp-server/MLIRServer.cpp
M mlir/lib/Tools/mlir-opt/MlirOptMain.cpp
M mlir/test/python/ir/operation.py
Log Message:
-----------
[mlir][bytecode] Return error instead of min version
Can't return a well-formed IR output while enabling version to be bumped
up during emission. Previously it would return min version but
potentially invalid IR which was confusing, instead make it return
error and abort immediately instead.
Differential Revision: https://reviews.llvm.org/D149569
More information about the All-commits
mailing list