diff options
author | Alex Zinenko <zinenko@google.com> | 2020-01-15 14:56:25 +0100 |
---|---|---|
committer | Alex Zinenko <zinenko@google.com> | 2020-01-15 15:01:49 +0100 |
commit | dc553ce646cdbab32d72d263d3f289952648b920 (patch) | |
tree | aca2c2f8b564554733ace147912a8f391e29ed74 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | 936483fb7dd2c8c6b014516ff3b3cd13740e0518 (diff) | |
download | llvm-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