The "FunctionLike" and "IsIsolatedFromAbove" op traits are now defined as named
records in base ODS file. Use those instead of NativeOpTrait referring to the
C++ class name in the ODS definition of LLVMFuncOp. NFC.
PiperOrigin-RevId:
284260891
}
def LLVM_LLVMFuncOp
- : LLVM_ZeroResultOp<"func",
- [NativeOpTrait<"IsIsolatedFromAbove">,
- NativeOpTrait<"FunctionLike">, Symbol]>,
+ : LLVM_ZeroResultOp<"func", [IsolatedFromAbove, FunctionLike, Symbol]>,
Arguments<(ins DefaultValuedAttr<Linkage,
"Linkage::External">:$linkage)> {
let summary = "LLVM dialect function, has wrapped LLVM IR function type";