[all-commits] [llvm/llvm-project] 962c30: [LV] Don't consider pointer as uniform if it is al...
Florian Hahn via All-commits
all-commits at lists.llvm.org
Fri Mar 17 09:26:50 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 962c306a11d0a21c884c12e18825b8a41ba1bd7d
https://github.com/llvm/llvm-project/commit/962c306a11d0a21c884c12e18825b8a41ba1bd7d
Author: Florian Hahn <flo at fhahn.com>
Date: 2023-03-17 (Fri, 17 Mar 2023)
Changed paths:
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
M llvm/test/Transforms/LoopVectorize/consecutive-ptr-uniforms.ll
M llvm/test/Transforms/LoopVectorize/opaque-ptr.ll
Log Message:
-----------
[LV] Don't consider pointer as uniform if it is also stored.
Update isVectorizedMemAccessUse to also check if the pointer is stored.
This prevents LV to incorrectly consider a pointer as uniform if it is
used as both pointer and stored by the same StoreInst.
Fixes #61396.
More information about the All-commits
mailing list