[LLVMbugs] [Bug 8643] New: [memcpyopt] missed memcpy optimization
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Wed Nov 17 23:45:52 PST 2010
http://llvm.org/bugs/show_bug.cgi?id=8643
Summary: [memcpyopt] missed memcpy optimization
Product: libraries
Version: 1.0
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P
Component: Scalar Optimizations
AssignedTo: unassignedbugs at nondot.org
ReportedBy: clattner at apple.com
CC: llvmbugs at cs.uiuc.edu
Transforms/MemCpyOpt/memcpy.ll:@test1 optimizes into this, the memcpy can be
removed:
define void @ccosl(%0* sret %agg.result, x86_fp80 %z.0, x86_fp80 %z.1) nounwind
{
entry:
%tmp2 = alloca %0
%tmp5 = fsub x86_fp80 0xK80000000000000000000, %z.1
call void @ccoshl(%0* sret %tmp2, x86_fp80 %tmp5, x86_fp80 %z.0) nounwind
%tmp219 = bitcast %0* %tmp2 to i8*
%agg.result21 = bitcast %0* %agg.result to i8*
call void @llvm.memcpy.p0i8.p0i8.i32(i8* %agg.result21, i8* %tmp219, i32 32,
i32 16, i1 false)
ret void
}
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list