Add additional criteria for hoisting vector.transfer_reads
Non-subview uses of an alloc outside the current loop can be safely ignored when considering hoisting vector transfer_reads. This patch adds a condition to check for that case and updates the unit test accordingly. Differential Revision: https://reviews.llvm.org/D150469
Loading
Please sign in to comment