Displaying 2 results from an estimated 2 matches for "targerframelow".
2013 Feb 19
2
[LLVMdev] eliminateCallFramePseudoInstr belongs in TargetRegisterInfo or TargetFrameLowering
...owering.cpp,
The method TargetRegisterInfo::eliminateCallFramePseudoInstr doesn't
appear to really belong in this interface. It adds instructions into
the MachineFunction given to it, which isn't what TargetRegisterInfo
is supposed to do.
ISTM that eliminateCallFramePseudoInstr belongs in
TargerFrameLowering, since it's being used during prolog/epilog
insertion. Moving it there would avoid the code duplication and
possibly other layering problems.
What do you think
Eli
P.S. I'm asking in llvmdev before proposing an actual patch because
this change will affect all targets.
P.S.2 Alas, T...
2013 Feb 19
0
[LLVMdev] eliminateCallFramePseudoInstr belongs in TargetRegisterInfo or TargetFrameLowering
> ISTM that eliminateCallFramePseudoInstr belongs in
> TargerFrameLowering, since it's being used during prolog/epilog
> insertion. Moving it there would avoid the code duplication and
> possibly other layering problems.
> What do you think
Go ahead and move. It's s historical artifact why it is inside TRI.
--
With best regards, Anton Korobeynikov...