diff options
| author | Saleem Abdulrasool <compnerd@compnerd.org> | 2016-04-24 20:12:48 +0000 |
|---|---|---|
| committer | Saleem Abdulrasool <compnerd@compnerd.org> | 2016-04-24 20:12:48 +0000 |
| commit | 9611518646b0ec1d753e9896ef97a11dc154c734 (patch) | |
| tree | c68353ce738f9d0878f75d961691b21d2c3d14c6 /llvm/test/CodeGen/ARM/Windows/chkstk.ll | |
| parent | 4c564ad4dd3d69287edcd0890c6fb1cac4bafc05 (diff) | |
| download | bcm5719-llvm-9611518646b0ec1d753e9896ef97a11dc154c734.tar.gz bcm5719-llvm-9611518646b0ec1d753e9896ef97a11dc154c734.zip | |
ARM: fix __chkstk Frame Setup on WoA
This corrects the MI annotations for the stack adjustment following the __chkstk
invocation. We were marking the original SP usage as a Def rather than Kill.
The (new) assigned value is the definition, the original reference is killed.
Adjust the ISelLowering to mark Kills and FrameSetup as well.
This partially resolves PR27480.
llvm-svn: 267361
Diffstat (limited to 'llvm/test/CodeGen/ARM/Windows/chkstk.ll')
| -rw-r--r-- | llvm/test/CodeGen/ARM/Windows/chkstk.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/ARM/Windows/chkstk.ll b/llvm/test/CodeGen/ARM/Windows/chkstk.ll index cb787e14b5b..330c1f45850 100644 --- a/llvm/test/CodeGen/ARM/Windows/chkstk.ll +++ b/llvm/test/CodeGen/ARM/Windows/chkstk.ll @@ -1,7 +1,7 @@ -; RUN: llc -mtriple=thumbv7-windows -mcpu=cortex-a9 %s -o - \ +; RUN: llc -mtriple=thumbv7-windows -mcpu=cortex-a9 -verify-machineinstrs %s -o - \ ; RUN: | FileCheck -check-prefix CHECK-DEFAULT-CODE-MODEL %s -; RUN: llc -mtriple=thumbv7-windows -mcpu=cortex-a9 -code-model=large %s -o - \ +; RUN: llc -mtriple=thumbv7-windows -mcpu=cortex-a9 -code-model=large -verify-machineinstrs %s -o - \ ; RUN: | FileCheck -check-prefix CHECK-LARGE-CODE-MODEL %s define arm_aapcs_vfpcc void @check_watermark() { |

