Revert 172027 and 174336. Remove diagnostics about over-aligned stack objects.
authorBob Wilson <bob.wilson@apple.com>
Fri, 8 Feb 2013 20:35:15 +0000 (20:35 +0000)
committerBob Wilson <bob.wilson@apple.com>
Fri, 8 Feb 2013 20:35:15 +0000 (20:35 +0000)
commit67bbf3aa0c941991f0fba602f958180c9c5a4522
tree12b45b190cb649257eda695dc9fdf95f713a8d58
parentf3f32d0193df6f90b3b01e70942d314ca22dc5a7
Revert 172027 and 174336. Remove diagnostics about over-aligned stack objects.

Aside from the question of whether we report a warning or an error when we
can't satisfy a requested stack object alignment, the current implementation
of this is not good.  We're not providing any source location in the diagnostics
and the current warning is not connected to any warning group so you can't
control it.  We could improve the source location somewhat, but we can do a
much better job if this check is implemented in the front-end, so let's do that
instead.  <rdar://problem/13127907>

llvm-svn: 174741
llvm/include/llvm/CodeGen/MachineFrameInfo.h
llvm/lib/CodeGen/MachineFunction.cpp
llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp
llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
llvm/test/CodeGen/ARM/alloc-no-stack-realign-error.ll [deleted file]
llvm/test/CodeGen/ARM/alloc-no-stack-realign.ll