[LLVMdev] Generating Machine Loads

dag at cray.com dag at cray.com
Wed May 16 09:30:29 PDT 2012


Codegen Experts,

Given a MachineInstr that is a store, is there a general way to generate
a MachineInstr load from the same address, somewhat analogous to how
loadRegFromStackSlot is a general way to generate a MachineInstr load?
I would rather not to have to re-code this for every target we might
use.  I can't find anything immediately obvious in TargetInstrInfo or
other Target headers.

Thanks!

                             -Dave



More information about the llvm-dev mailing list