[llvm] [LoadStoreVectorizer] Avoid vectorizing pointers with external state (PR #209909)

Drew Kersnar via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 16 09:49:30 PDT 2026


================

----------------
dakersnar wrote:

Yeah, like you said, this would already be skipped regardless of this PR's additional filter. We could add an additional test in case the pointer vector filter is relaxed in the future, but I'll note that hasExternalState does examine the scalar type, so it would successfully catch those cases. If you think it would be a good idea I can do it.

https://github.com/llvm/llvm-project/pull/209909


More information about the llvm-commits mailing list