[llvm-commits] [llvm] r150852 - /llvm/trunk/test/CodeGen/X86/fast-isel.ll

Eric Christopher echristo at apple.com
Fri Feb 17 16:05:45 PST 2012


Author: echristo
Date: Fri Feb 17 18:05:45 2012
New Revision: 150852

URL: http://llvm.org/viewvc/llvm-project?rev=150852&view=rev
Log:
Testcase for the previous commit.

Modified:
    llvm/trunk/test/CodeGen/X86/fast-isel.ll

Modified: llvm/trunk/test/CodeGen/X86/fast-isel.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/fast-isel.ll?rev=150852&r1=150851&r2=150852&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/fast-isel.ll (original)
+++ llvm/trunk/test/CodeGen/X86/fast-isel.ll Fri Feb 17 18:05:45 2012
@@ -99,7 +99,6 @@
   ret void
 }
 
-
 @crash_test1x = external global <2 x i32>, align 8
 
 define void @crash_test1() nounwind ssp {
@@ -108,3 +107,13 @@
   ret void
 }
 
+declare void @llvm.lifetime.start(i64, i8* nocapture) nounwind
+
+define i64* @life() nounwind {
+  %a1 = alloca i64*, align 8
+  %a2 = bitcast i64** %a1 to i8*
+  call void @llvm.lifetime.start(i64 -1, i8* %a2) nounwind      
+  %a3 = load i64** %a1, align 8
+  ret i64* %a3
+}
+





More information about the llvm-commits mailing list