1; RUN: llc < %s -mtriple=armv7a-arm-none-eabi | FileCheck %s
2
3target datalayout = "e-m:e-p:32:32-i64:64-v128:64:128-a:0:32-n32-S64"
4target triple = "armv7-arm-none-eabi"
5
6define void @foo() minsize {
7entry:
8  ; CHECK: .vsave	{[[SAVE_REG:d[0-9]+]]}
9  ; CHECK-NEXT: .pad #8
10  ; CHECK-NEXT: vpush   {[[PAD_REG:d[0-9]+]], [[SAVE_REG]]}
11  ; CHECK: vpop     {[[PAD_REG]], [[SAVE_REG]]}
12  %a = alloca i32, align 4
13  call void asm sideeffect "", "r,~{d8}"(i32* %a)
14  ret void
15}
16