[llvm-commits] [llvm] r149840 - /llvm/trunk/test/CodeGen/CPP/2012-02-05-UnitVarCrash.ll

Duncan Sands baldrick at free.fr
Sun Feb 5 11:27:57 PST 2012


Author: baldrick
Date: Sun Feb  5 13:27:57 2012
New Revision: 149840

URL: http://llvm.org/viewvc/llvm-project?rev=149840&view=rev
Log:
Testcase for commit 149833 (use of an uninitialized variable noticed
by GCC).

Added:
    llvm/trunk/test/CodeGen/CPP/2012-02-05-UnitVarCrash.ll

Added: llvm/trunk/test/CodeGen/CPP/2012-02-05-UnitVarCrash.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/CPP/2012-02-05-UnitVarCrash.ll?rev=149840&view=auto
==============================================================================
--- llvm/trunk/test/CodeGen/CPP/2012-02-05-UnitVarCrash.ll (added)
+++ llvm/trunk/test/CodeGen/CPP/2012-02-05-UnitVarCrash.ll Sun Feb  5 13:27:57 2012
@@ -0,0 +1,6 @@
+; RUN: llc < %s -march=cpp
+declare void @foo(<4 x i32>)
+define void @bar() {
+  call void @foo(<4 x i32> <i32 0, i32 1, i32 2, i32 3>)
+  ret void
+}





More information about the llvm-commits mailing list