Displaying 2 results from an estimated 2 matches for "findprologueendloc".
2017 Feb 17
7
RFC: Setting MachineInstr flags through storeRegToStackSlot
...skip over
all instruction marked with the MachineInstr::FrameSetup flag[1].
>From my point of view, skipping over all FrameSetup instructions sounds like
the more robust way to go about things. I haven't fully traced through where
the flag is used in LLVM, but it does seem that DwarfDebug::findPrologueEndLoc
will return the wrong result if the flag isn't consistently set on frame setup
code. The problem is that unless you override
TargetFrameLowering::spillCalleeSavedRegisters, then PrologEpilogInserter will
just spill callee saved registers through a series of calls to
storeRegToStackSlot. This is...
2017 Feb 21
3
RFC: Setting MachineInstr flags through storeRegToStackSlot
...Instr::FrameSetup flag[1].
> >
> > From my point of view, skipping over all FrameSetup instructions sounds
> like
> > the more robust way to go about things. I haven't fully traced through
> where
> > the flag is used in LLVM, but it does seem that
> DwarfDebug::findPrologueEndLoc
> > will return the wrong result if the flag isn't consistently set on frame
> setup
> > code. The problem is that unless you override
> > TargetFrameLowering::spillCalleeSavedRegisters, then
> PrologEpilogInserter will
> > just spill callee saved registers through...