]> granicus.if.org Git - llvm/commit
[MIPS GlobalISel] Lower G_DYN_STACKALLOC
authorPetar Avramovic <Petar.Avramovic@rt-rk.com>
Thu, 12 Sep 2019 11:39:50 +0000 (11:39 +0000)
committerPetar Avramovic <Petar.Avramovic@rt-rk.com>
Thu, 12 Sep 2019 11:39:50 +0000 (11:39 +0000)
commit97233583f27aae8b2745adb74f70d423077eb1e0
tree03b242b1da675f65c778813454b1ca57e5706571
parentcd88891a7b55b366111540d2ce7e0855b22bb03c
[MIPS GlobalISel] Lower G_DYN_STACKALLOC

IRTranslator creates G_DYN_STACKALLOC instruction during expansion of
alloca when argument that tells number of elements to allocate on stack
is a virtual register. Use default lowering for MIPS32.

Differential Revision: https://reviews.llvm.org/D67440

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@371728 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Mips/MipsLegalizerInfo.cpp
test/CodeGen/Mips/GlobalISel/legalizer/dyn_stackalloc.mir [new file with mode: 0644]
test/CodeGen/Mips/GlobalISel/llvm-ir/dyn_stackalloc.ll [new file with mode: 0644]