We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf15901 commit 69721c0Copy full SHA for 69721c0
mlir/include/mlir/Target/LLVMIR/LLVMImportInterface.h
@@ -165,6 +165,7 @@ class LLVMImportInterface
165
LogicalResult convertIntrinsic(OpBuilder &builder, llvm::CallInst *inst,
166
LLVM::ModuleImport &moduleImport) const {
167
// Lookup the dialect interface for the given intrinsic.
168
+ // Verify the intrinsic identifier maps to an actual intrinsic.
169
llvm::Intrinsic::ID intrinId = inst->getIntrinsicID();
170
if (intrinId == llvm::Intrinsic::not_intrinsic)
171
return failure();
0 commit comments