OSDN Git Service

[MSP430] Fix crash while lowering llvm.stacksave/stackrestore
authorAnton Korobeynikov <anton@korobeynikov.info>
Wed, 9 Jan 2019 12:52:15 +0000 (12:52 +0000)
committerAnton Korobeynikov <anton@korobeynikov.info>
Wed, 9 Jan 2019 12:52:15 +0000 (12:52 +0000)
commit9ba9ef7b241458e6118262b71891899004fdb8e4
tree4ec3dbc7cbd8cb284c632cf0a597be890056c47b
parenta5cdf514ea22dda21dead31830fb27e92d016bf8
[MSP430] Fix crash while lowering llvm.stacksave/stackrestore

Perform the usual expansion of stacksave / restore intrinsics.
Patch by Kristina Bessonova!

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@350710 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/MSP430/MSP430ISelLowering.cpp
test/CodeGen/MSP430/stacksave_restore.ll [new file with mode: 0644]