aboutsummaryrefslogtreecommitdiffstats
path: root/test/Feature/alignment.ll
diff options
context:
space:
mode:
authorCharles Davis <cdavis@mines.edu>2010-02-12 00:31:15 +0000
committerCharles Davis <cdavis@mines.edu>2010-02-12 00:31:15 +0000
commit1e063d14df0f182626ebdd7ac7f32405aa754e03 (patch)
tree13d4b73826e6b511d2776a42af7549b53eed0371 /test/Feature/alignment.ll
parent4a540f0593f32d928534817b59c4a528e2197e0c (diff)
downloadexternal_llvm-1e063d14df0f182626ebdd7ac7f32405aa754e03.zip
external_llvm-1e063d14df0f182626ebdd7ac7f32405aa754e03.tar.gz
external_llvm-1e063d14df0f182626ebdd7ac7f32405aa754e03.tar.bz2
Add a new function attribute, 'alignstack'. It will indicate (when the backends
implement support for it) that the stack should be forcibly realigned in the prologue (and the process reversed in the epilogue). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95945 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Feature/alignment.ll')
-rw-r--r--test/Feature/alignment.ll4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Feature/alignment.ll b/test/Feature/alignment.ll
index 409efeb..ef35a13 100644
--- a/test/Feature/alignment.ll
+++ b/test/Feature/alignment.ll
@@ -19,3 +19,7 @@ define i32* @test2() {
ret i32* %X
}
+define void @test3() alignstack(16) {
+ ret void
+}
+