Displaying 3 results from an estimated 3 matches for "cansimplifycallframepseudo".
Did you mean:
cansimplifycallframepseudos
2013 Sep 26
0
[LLVMdev] Register scavenger and SP/FP adjustments
...// need to track the SP adjustment for frame index elimination.
if (TFI->canSimplifyCallFramePseudos(Fn))
=> TFI->eliminateCallFramePseudoInstr(Fn, *I->getParent(), I);
Perhaps there is a bug in canSimplifyCallFramePseudos?
Evan
On Sep 26, 2013, at 12:00 PM, Krzysztof Parzyszek <kparzysz at codeaurora.org> wrote:
> Consider this example:
>
> --- ex.ll ---
> decl...
2013 Sep 26
1
[LLVMdev] Register scavenger and SP/FP adjustments
...t being included as part of the stack frame, and
> // the target doesn't indicate otherwise, remove the call frame pseudos
> // here. The sub/add sp instruction pairs are still inserted, but we don't
> // need to track the SP adjustment for frame index elimination.
> if (TFI->canSimplifyCallFramePseudos(Fn))
> => TFI->eliminateCallFramePseudoInstr(Fn, *I->getParent(), I);
>
> Perhaps there is a bug in canSimplifyCallFramePseudos?
>
> Evan
>
> On Sep 26, 2013, at 12:00 PM, Krzysztof Parzyszek
> <kparzysz at codeaurora.org <mailto:kparzysz at codeaurora.org...
2013 Sep 26
2
[LLVMdev] Register scavenger and SP/FP adjustments
Consider this example:
--- ex.ll ---
declare void @bar()
; Function Attrs: nounwind optsize
define void @main() {
entry:
%hin = alloca [256 x i32], align 4
%xin = alloca [256 x i32], align 4
call void @bar()
ret void
}
-------------
Freshly built llc:
llc -O2 -march=x86 < ex.ll -print-before-all
# *** IR Dump Before Prologue/Epilogue Insertion & Frame Finalization ***:
#