[all-commits] [llvm/llvm-project] 8bc1ce: Use dyn_cast_or_null instead of dyn_cast in Functi...
Mehdi Amini via All-commits
all-commits at lists.llvm.org
Sat Jun 12 14:06:37 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 8bc1ce0f61da0b2d0c3a17aec898df7001336ea5
https://github.com/llvm/llvm-project/commit/8bc1ce0f61da0b2d0c3a17aec898df7001336ea5
Author: Mehdi Amini <joker.eph at gmail.com>
Date: 2021-06-12 (Sat, 12 Jun 2021)
Changed paths:
M mlir/include/mlir/IR/FunctionSupport.h
Log Message:
-----------
Use dyn_cast_or_null instead of dyn_cast in FunctionLike::verifyTrait (NFC)
This is making the verifier more tolerant to cases where a "null"
Attribute would be inserted in the array of func arguments/results
attributes.
More information about the All-commits
mailing list