From: Lauro Ramos Venancio Date: Sat, 3 Feb 2007 00:16:21 +0000 (+0000) Subject: Improves alloca test. Verifies SP restoration. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=4532cc31b9a78514b60af0ef008c8867a54bf4b9;p=oota-llvm.git Improves alloca test. Verifies SP restoration. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33802 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGen/ARM/alloca.ll b/test/CodeGen/ARM/alloca.ll index 6722026835a..c04a8b0499b 100644 --- a/test/CodeGen/ARM/alloca.ll +++ b/test/CodeGen/ARM/alloca.ll @@ -1,4 +1,7 @@ -; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm && +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm -mtriple=arm-linux-gnu | grep "mov r11, sp" && +; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm -mtriple=arm-linux-gnu | grep "mov sp, r11" + void %f(uint %a) { entry: %tmp = alloca sbyte, uint %a