aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2011-10-05 18:13:08 +0000
committerDan Gohman <gohman@apple.com>2011-10-05 18:13:08 +0000
commitda5836572de7833052f8b7d0715662f930eaf81c (patch)
tree64711eccfb464ae28a68ffaeae1ad4820f14701b /test
parent2f52338f50cc629f7a43bef3caf0d20af53fe284 (diff)
downloadexternal_llvm-da5836572de7833052f8b7d0715662f930eaf81c.zip
external_llvm-da5836572de7833052f8b7d0715662f930eaf81c.tar.gz
external_llvm-da5836572de7833052f8b7d0715662f930eaf81c.tar.bz2
Make this test less sensitive to codegen optimizations.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141195 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/CodeGen/ARM/va_arg.ll1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/CodeGen/ARM/va_arg.ll b/test/CodeGen/ARM/va_arg.ll
index bb40453..af477b4 100644
--- a/test/CodeGen/ARM/va_arg.ll
+++ b/test/CodeGen/ARM/va_arg.ll
@@ -30,6 +30,7 @@ entry:
%ap1 = bitcast i8** %ap to i8* ; <i8*> [#uses=2]
call void @llvm.va_start(i8* %ap1)
%0 = va_arg i8** %ap, i32 ; <i32> [#uses=0]
+ store i32 %0, i32* undef
%1 = va_arg i8** %ap, double ; <double> [#uses=1]
call void @llvm.va_end(i8* %ap1)
ret double %1