[Hexagon] Replace EmitFunctionEntryCode with a DAG preprocessing code

The code in EmitFunctionEntryCode needs to know the maximum stack
alignment, but it runs very early in the selection process (before
lowering). The final stack alignment may change during lowering, so
the code needs to be moved to where the alignment is known.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@323374 91177308-0d34-0410-b5e6-96231b3b80d8
2 files changed