http://llvm.org/bugs/show_bug.cgi?id=3174
Summary: GVN invalidates memdep
Product: libraries
Version: 1.0
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Scalar Optimizations
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
CC: [email protected]
The GVN pass is invalidating memdep, which causes it to be recomputed for
memcpy optimizer. We also run DSE substantially later, which means that extra
passes have to get recomputed:
Memory Dependence Analysis
Global Value Numbering
* Memory Dependence Analysis
MemCpy Optimization
Sparse Conditional Constant Propagation
Combine redundant instructions
Break critical edges in CFG
Conditional Propagation
* Dominator Tree Construction
Memory Dependence Analysis
Dead Store Elimination
GVN would have to inform memdep about blocks it removes if it were to declare
that it preserved it though (MergeBlockIntoPredecessor) and we'd have to teach
memdep how to handle this.
--
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