mirror of
https://github.com/intel/llvm.git
synced 2026-02-08 08:57:43 +08:00
Following the steps of the LLVM verifier
(b2c48559c8/llvm/lib/IR/Verifier.cpp (L4195)),
checks in llvm.func verifier are added to ensure consistency of
llvm.landingpad operations' result types and llvm.resume operations'
input types.
As in LLVM, we will allow llvm.resume operations with input values
defined by operations other than llvm.landingpad.
Signed-off-by: Victor Perez <victor.perez@codeplay.com>
Reviewed By: gysit, Dinistro
Differential Revision: https://reviews.llvm.org/D146968
Multi-Level Intermediate Representation
See https://mlir.llvm.org/ for more information.