The previous behavior is unmodified as BufferDependencyAnalysis. The new
BufferAliasAnalysis differs by finding all aliases of a buffer rather
than only subviews of the current value.
For example, given a sequence of subviews that create values
A -> B -> C -> d:
BufferDependencyAnalysis::resolve(B) => {B, C, D}
BufferAliasAnalysis::resolve(B) => {A, B, C, D}
The old behavior is needed by BufferDeallocation. The new behavior is
needed by transformations that are not looking for aliases relative to
the original AllocOp.
nit: Comment does not match the implementation.