[all-commits] [llvm/llvm-project] 8cf6bc: [mlir][llvm] Add assert in CallOp builder (#76240)
gitoleg via All-commits
all-commits at lists.llvm.org
Wed Dec 27 08:08:48 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 8cf6bcf5a30673dd8a234ae3ef4ab4c1e63786b1
https://github.com/llvm/llvm-project/commit/8cf6bcf5a30673dd8a234ae3ef4ab4c1e63786b1
Author: gitoleg <forown at yandex.ru>
Date: 2023-12-27 (Wed, 27 Dec 2023)
Changed paths:
M mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp
Log Message:
-----------
[mlir][llvm] Add assert in CallOp builder (#76240)
This commit adds an assert in one of the CallOp builders to ensure it is not use to create an indirect call. Otherwise, the callee type would include the callee pointer type which is handed in as first argument.
More information about the All-commits
mailing list