[MIPS][microMIPS] Enable dynamic stack realignment
authorSimon Atanasyan <simon@atanasyan.com>
Tue, 19 Mar 2019 17:01:24 +0000 (17:01 +0000)
committerSimon Atanasyan <simon@atanasyan.com>
Tue, 19 Mar 2019 17:01:24 +0000 (17:01 +0000)
commitdb4601e60a0fb3e079f20f68706de4d6010a1f56
treebe28614387ead12aeb2e1a59d982f6df7b423dc6
parentf74d45a7755d28ecc6caf681c5bbc34d4e4592fb
[MIPS][microMIPS] Enable dynamic stack realignment

Dynamic stack realignment was disabled on micromips by checking if
target has standard encoding. We simply change the condition to skip
Mips16 only.

Patch by Mirko Brkusanin.

Differential Revision: http://reviews.llvm.org/D59499

llvm-svn: 356478
llvm/lib/Target/Mips/MipsRegisterInfo.cpp
llvm/test/CodeGen/Mips/dynamic-stack-realignment.ll