[PATCH] [mips] Add support for dynamic stack realignment.
Vasileios.Kalintiris at imgtec.com
Fri Apr 24 04:09:56 PDT 2015
I agree with you. However, reporting something back to the user is a little bit more difficult than it seems. The alignment of the objects inside such a function is clamped to that of the stack's alignment based on the given ABI. I moved the check for `MF.getFunction()->hasFnAttribute("no-realign-stack")` from `canRealign()` to `needsStackRealignment()`, in order to make the check more visible and added a comment that explains the whole situation.
More information about the llvm-commits