Displaying 8 results from an estimated 8 matches for "needsstackrealign".
2008 Jun 30
2
[LLVMdev] Recently failing vector tests
...pilogInserter.cpp (revision 52829)
> +++ CodeGen/PrologEpilogInserter.cpp (working copy)
> @@ -464,7 +464,8 @@
> // works.
> if (!RegInfo->targetHandlesStackFrameRounding() &&
> (FFI->hasCalls() || FFI->hasVarSizedObjects() ||
> - RegInfo->needsStackRealignment(Fn))) {
> + (RegInfo->needsStackRealignment(Fn) &&
> + Offset > std::abs(TFI.getOffsetOfLocalArea())))) {
> // If we have reserved argument space for call sites in the
> function
> // immediately on entry to the current function, count it...
2008 Jun 30
0
[LLVMdev] Recently failing vector tests
...alignment. Unfortunately
> your patch doesn't make any difference.
>
> Thanks for thinking about this,
>
> Duncan.
OK, the test is not quite right then. This doesn't happen on Darwin
so I'm
afraid you'll have to debug it. Perhaps testing for
(RegInfo->needsStackRealignment(Fn) &&
FFI->getObjectIndexEnd()!=0)
?
> On Friday 27 June 2008 19:51:00 Dale Johannesen wrote:
>> On Jun 27, 2008, at 3:11 AMPDT, Duncan Sands wrote:
>>> FAIL: test/CodeGen/X86/vec_shuffle-10.ll
>>> Failed with exit(1) at line 3
>>> while...
2008 Jun 30
1
[LLVMdev] Recently failing vector tests
Hi Dale,
> OK, the test is not quite right then. This doesn't happen on Darwin
> so I'm
> afraid you'll have to debug it. Perhaps testing for
> (RegInfo->needsStackRealignment(Fn) &&
> FFI->getObjectIndexEnd()!=0)
> ?
yes, that works - thanks! Since I have no idea what this is
doing, is it ok if I leave it to you to commit it?
Thanks again,
Duncan.
> > On Friday 27 June 2008 19:51:00 Dale Johannesen wrote:
> >> On Jun 27,...
2008 Jun 27
0
[LLVMdev] Recently failing vector tests
...==========
--- CodeGen/PrologEpilogInserter.cpp (revision 52829)
+++ CodeGen/PrologEpilogInserter.cpp (working copy)
@@ -464,7 +464,8 @@
// works.
if (!RegInfo->targetHandlesStackFrameRounding() &&
(FFI->hasCalls() || FFI->hasVarSizedObjects() ||
- RegInfo->needsStackRealignment(Fn))) {
+ (RegInfo->needsStackRealignment(Fn) &&
+ Offset > std::abs(TFI.getOffsetOfLocalArea())))) {
// If we have reserved argument space for call sites in the
function
// immediately on entry to the current function, count it as
part of the
//...
2008 Jun 27
2
[LLVMdev] Recently failing vector tests
Running on x86-64 linux:
FAIL: test/CodeGen/X86/vec_ins_extract.ll
Failed with exit(1) at line 1
while running: llvm-as < test/CodeGen/X86/vec_ins_extract.ll | opt -scalarrepl -instcombine | llc -march=x86 -mcpu=yonah | not grep sub.*esp
subl $16, %esp
subl $16, %esp
subl $16, %esp
subl $16, %esp
child process exited abnormally
FAIL:
2009 Nov 26
1
[LLVMdev] MachineFrameInfo
Hello,
I found that is possible to introduce some changes in the stack layout;
however, where I can find more information about how to use it (I am
reading code). For example, how I can align the stack to the maximum size
(what is the max size?), or how I can protect it? Can I set up the
condiction using flags at compiler time or I need to change the code?
--
Juan Carlos
-------------- next
2010 Aug 11
1
[LLVMdev] Unnecessary Win64 stack allocations...
...ed, if we are a leaf
// function, and use up to 128 bytes of stack space, don't have a frame
// pointer, calls, or dynamic alloca then we do not need to adjust the
// stack pointer (we fit in the Red Zone).
if (Is64Bit && !Fn->hasFnAttr(Attribute::NoRedZone) &&
!needsStackRealignment(MF) &&
!MFI->hasVarSizedObjects() && // No dynamic alloca.
!MFI->adjustsStack() && // No calls.
!IsWin64) { // Win64 has no Red Zone
uint64_t MinSize = X86FI->getCalleeSav...
2017 Apr 27
4
-msave-args backend support for x86_64
...is disabled.
bool X86FrameLowering::hasFP(const MachineFunction &MF) const {
const MachineFrameInfo &MFI = MF.getFrameInfo();
- return (MF.getTarget().Options.DisableFramePointerElim(MF) ||
+ return (MF.getTarget().Options.DisableFramePointerElim(MF) || SaveArgs ||
TRI->needsStackRealignment(MF) ||
MFI.hasVarSizedObjects() ||
MFI.isFrameAddressTaken() || MFI.hasOpaqueSPAdjustment() ||
@@ -850,6 +851,25 @@
MI->getOperand(3).setIsDead();
}
+// FIXME: Get this from tablegen.
+static ArrayRef<MCPhysReg> get64BitArgumentGPRs(CallingConv::ID CallConv,...