aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorAlex Zinenko <zinenko@google.com>2020-01-15 14:56:25 +0100
committerAlex Zinenko <zinenko@google.com>2020-01-15 15:01:49 +0100
commitdc553ce646cdbab32d72d263d3f289952648b920 (patch)
treeaca2c2f8b564554733ace147912a8f391e29ed74 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parent936483fb7dd2c8c6b014516ff3b3cd13740e0518 (diff)
downloadllvm-dc553ce646cdbab32d72d263d3f289952648b920.zip
llvm-dc553ce646cdbab32d72d263d3f289952648b920.tar.gz
llvm-dc553ce646cdbab32d72d263d3f289952648b920.tar.bz2
[mlir] LLVM import: handle function-typed constants
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.
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions