If we have a simple load through a GEP that is fed by a store of an
aggregate, we can use the GEP indices to walk the stored aggregate and
extract the appropriate value to replace the load.
Details
Details
- Reviewers
- None
Diff Detail
Diff Detail
Paths
| Differential D6829
Add basic support for removal of load that are fed by a store of an aggregate AbandonedPublic Authored by dotdash on Jan 2 2015, 1:27 PM.
Details
Summary If we have a simple load through a GEP that is fed by a store of an
Diff Detail
Revision Contents
Diff 17764 include/llvm/Analysis/Loads.h
lib/Analysis/Loads.cpp
lib/Transforms/Scalar/GVN.cpp
test/Transforms/GVN/load-from-fca.ll
|