mirror of
https://github.com/intel/llvm.git
synced 2026-01-25 10:55:58 +08:00
The current implementation of the LLVM-to-MLIR translation could not handle functions used as constant values in instructions. The handling is added trivially as `llvm.mlir.constant` can define constants of function type using SymbolRef attributes, which works even for functions that have not been declared yet.