You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
…prototypes (#123378)
On lowering from `memref` to LLVM, `malloc` and other intrinsic
functions from `libc` will be declared in the current module. User's
redefinition of these reserved functions will poison the internal
analysis with wrong prototype. This patch adds assertion on the found
function's type and reports if it mismatch with the intended type.
Related to #120950
---------
Co-authored-by: Luohao Wang <[email protected]>
git version: bc29fc9
system:
Ubuntu 18.04.6 LTS
reproduce with:
mlir-opt -finalize-memref-to-llvm a.mlir
a.mlir:
stack trace:
The text was updated successfully, but these errors were encountered: