Skip to content

Commit 69721c0

Browse files
bcardosolopesgysit
andauthored
Update mlir/include/mlir/Target/LLVMIR/LLVMImportInterface.h
Co-authored-by: Tobias Gysi <[email protected]>
1 parent bf15901 commit 69721c0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mlir/include/mlir/Target/LLVMIR/LLVMImportInterface.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,7 @@ class LLVMImportInterface
165165
LogicalResult convertIntrinsic(OpBuilder &builder, llvm::CallInst *inst,
166166
LLVM::ModuleImport &moduleImport) const {
167167
// Lookup the dialect interface for the given intrinsic.
168+
// Verify the intrinsic identifier maps to an actual intrinsic.
168169
llvm::Intrinsic::ID intrinId = inst->getIntrinsicID();
169170
if (intrinId == llvm::Intrinsic::not_intrinsic)
170171
return failure();

0 commit comments

Comments
 (0)