I want to generate a pragma before the machine load instructions that contains information based on the Metadata (attached to load instruction in LLVM IR).
From what I have read, neither SelectionDAG nor MachineInstr has a way to store Metadata. Are there any alternatives to achieve the same?