This is an archive of the discontinued LLVM Phabricator instance.

[mips] Make sure that we don't adjust the stack pointer by zero amount.
ClosedPublic

Authored by vkalintiris on Mar 26 2015, 10:09 AM.

Diff Detail

Repository
rL LLVM

Event Timeline

vkalintiris retitled this revision from to [mips] Make sure that we don't adjust the stack pointer by zero amount..
vkalintiris updated this object.
vkalintiris edited the test plan for this revision. (Show Details)
vkalintiris added a reviewer: dsanders.
vkalintiris added a subscriber: Unknown Object (MLST).
dsanders accepted this revision.Apr 1 2015, 11:17 AM
dsanders edited edge metadata.

LGTM with the check for 'Amount == 0' inside adjustStackPtr(). Each caller shouldn't have to check this for itself.

test/CodeGen/Mips/adjust-callstack-sp.ll
14–16 ↗(On Diff #22733)

Nit: Indentation.

This revision is now accepted and ready to land.Apr 1 2015, 11:17 AM
This revision was automatically updated to reflect the committed changes.