[llvm-commits] [poolalloc] r108032 - /poolalloc/trunk/test/dsa/regression/2010-07-09-vastartUndef.ll

Will Dietz wdietz2 at illinois.edu
Fri Jul 9 16:41:46 PDT 2010


Author: wdietz2
Date: Fri Jul  9 18:41:46 2010
New Revision: 108032

URL: http://llvm.org/viewvc/llvm-project?rev=108032&view=rev
Log:
Added test that exposes failures when va_start is called on an undefined value.

Added:
    poolalloc/trunk/test/dsa/regression/2010-07-09-vastartUndef.ll

Added: poolalloc/trunk/test/dsa/regression/2010-07-09-vastartUndef.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/regression/2010-07-09-vastartUndef.ll?rev=108032&view=auto
==============================================================================
--- poolalloc/trunk/test/dsa/regression/2010-07-09-vastartUndef.ll (added)
+++ poolalloc/trunk/test/dsa/regression/2010-07-09-vastartUndef.ll Fri Jul  9 18:41:46 2010
@@ -0,0 +1,11 @@
+;RUN: dsaopt %s -dsa-local
+; ModuleID = 'bugpoint-reduced-simplified.bc'
+target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64"
+target triple = "x86_64-unknown-linux-gnu"
+
+declare void @llvm.va_start(i8*) nounwind
+
+define void @test() {
+  call void @llvm.va_start(i8* undef)
+  ret void
+}





More information about the llvm-commits mailing list