This is another step toward improving fca support. This unpack load of array in a series of load to array's elements.
Details
Diff Detail
Event Timeline
lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp | ||
---|---|---|
526 | Why can't we simply call LI.getName() wherever it is required rather than maintaining the variable "Name"? | |
531–532 | Same here. Do we really need to maintain NumElements? Can we simply call ST->getNumElements() instead? | |
588 | I think these could be written better as: SmallString<16> LoadName = LI->getName() + ".unpack"; |
Why can't we simply call LI.getName() wherever it is required rather than maintaining the variable "Name"?