[llvm-exegesis] Create a proper LLVM IR Function for MachineFunctions
authorArthur Eubanks <aeubanks@google.com>
Mon, 15 May 2023 23:50:56 +0000 (16:50 -0700)
committerArthur Eubanks <aeubanks@google.com>
Mon, 15 May 2023 23:51:15 +0000 (16:51 -0700)
commit45af0aa1fdf8bfc0ba54046430d48a3b7c02ca2b
tree0fce39f4a84a7717f3a3e129b4bf324e16bf26f0
parent5a7563b2f675f76e6c4e1e955610f695b7bdbfc8
[llvm-exegesis] Create a proper LLVM IR Function for MachineFunctions

I have upcoming changes break with invalid Function definitions.

Reviewed By: aidengrossman, courbet

Differential Revision: https://reviews.llvm.org/D149207
llvm/tools/llvm-exegesis/lib/Assembler.cpp