http://llvm.org/bugs/show_bug.cgi?id=9417
Summary: memset not created out of per-field store instructions
Product: libraries
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: Loop Optimizer
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Created an attachment (id=6287)
--> (http://llvm.org/bugs/attachment.cgi?id=6287)
testcase .ll
The attached file is a .ll with a simple loop doing 3 stores of 0 to each
member in @glbl. Loop idiom recognizer won't merge it because each store has a
stride larger than the width of the store.
Who's responsible for merging:
A = gep foo, 0
B = gep foo, 1
store 0, A
store 0, B
into one store/memset instruction?
This is pulled from MultiSource/Benchmarks/Ptrdist/ks which has gcc/llc = 0.46
on x86-64 linux.
--
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs