Mercurial > hg > CbC > CbC_llvm
annotate test/CodeGen/SystemZ/alloca-04.ll @ 100:7d135dc70f03 LLVM 3.9
LLVM 3.9
author | Miyagi Mitsuki <e135756@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 26 Jan 2016 22:53:40 +0900 |
parents | |
children |
rev | line source |
---|---|
100 | 1 ; Check the "no-realign-stack" function attribute. We should get a warning. |
2 | |
3 ; RUN: llc < %s -mtriple=s390x-linux-gnu -debug-only=codegen 2>&1 | \ | |
4 ; RUN: FileCheck %s | |
5 ; REQUIRES: asserts | |
6 | |
7 define void @f6() "no-realign-stack" { | |
8 %x = alloca i64, i64 1, align 128 | |
9 store volatile i64 10, i64* %x, align 128 | |
10 ret void | |
11 } | |
12 | |
13 ; CHECK: Warning: requested alignment 128 exceeds the stack alignment 8 | |
14 ; CHECK-NOT: nill |