[LLParser][OpaquePtr] Support forward reference to unnamed function
authorNikita Popov <npopov@redhat.com>
Thu, 10 Feb 2022 11:20:34 +0000 (12:20 +0100)
committerNikita Popov <npopov@redhat.com>
Thu, 10 Feb 2022 11:20:34 +0000 (12:20 +0100)
commit8fa45b826a68037904e2c4b7a9e2de7c4a798bd3
tree04ec84ec919f67651e6c32272998ecbf10878ffd
parent1c729d719a344c1dbe8c507118fcfbf2eeab85fd
[LLParser][OpaquePtr] Support forward reference to unnamed function

With opaque pointers, we always create forward references as i8
globals, so it will not be Function here.
llvm/lib/AsmParser/LLParser.cpp
llvm/test/Assembler/opaque-ptr.ll