[llvm-branch-commits] [llvm-branch] r133579 - /llvm/branches/type-system-rewrite/test/Transforms/MemCpyOpt/memcpy.ll

Chris Lattner sabre at nondot.org
Tue Jun 21 16:33:13 PDT 2011


Author: lattner
Date: Tue Jun 21 18:33:13 2011
New Revision: 133579

URL: http://llvm.org/viewvc/llvm-project?rev=133579&view=rev
Log:
fix test to use %0 consistently, named and anonymous types are distinct now.

Modified:
    llvm/branches/type-system-rewrite/test/Transforms/MemCpyOpt/memcpy.ll

Modified: llvm/branches/type-system-rewrite/test/Transforms/MemCpyOpt/memcpy.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/type-system-rewrite/test/Transforms/MemCpyOpt/memcpy.ll?rev=133579&r1=133578&r2=133579&view=diff
==============================================================================
--- llvm/branches/type-system-rewrite/test/Transforms/MemCpyOpt/memcpy.ll (original)
+++ llvm/branches/type-system-rewrite/test/Transforms/MemCpyOpt/memcpy.ll Tue Jun 21 18:33:13 2011
@@ -6,7 +6,7 @@
 %0 = type { x86_fp80, x86_fp80 }
 %1 = type { i32, i32 }
 
-define void @test1({ x86_fp80, x86_fp80 }* sret  %agg.result, x86_fp80 %z.0, x86_fp80 %z.1) nounwind  {
+define void @test1(%0* sret  %agg.result, x86_fp80 %z.0, x86_fp80 %z.1) nounwind  {
 entry:
   %tmp2 = alloca %0
   %memtmp = alloca %0, align 16
@@ -29,7 +29,7 @@
 ; CHECK: ret void
 }
 
-declare void @ccoshl({ x86_fp80, x86_fp80 }* sret , x86_fp80, x86_fp80) nounwind 
+declare void @ccoshl(%0* sret , x86_fp80, x86_fp80) nounwind 
 
 
 ; The intermediate alloca and one of the memcpy's should be eliminated, the
@@ -49,9 +49,9 @@
 
 
 
- at x = external global { x86_fp80, x86_fp80 }
+ at x = external global %0
 
-define void @test3({ x86_fp80, x86_fp80 }* noalias sret %agg.result) nounwind  {
+define void @test3(%0* noalias sret %agg.result) nounwind  {
   %x.0 = alloca %0
   %x.01 = bitcast %0* %x.0 to i8*
   call void @llvm.memcpy.p0i8.p0i8.i32(i8* %x.01, i8* bitcast (%0* @x to i8*), i32 32, i32 16, i1 false)





More information about the llvm-branch-commits mailing list