[all-commits] [llvm/llvm-project] d22232: [LoadStoreVectorizer] Optimize check for IsAllocaA...
Björn Pettersson via All-commits
all-commits at lists.llvm.org
Fri Jun 9 12:44:06 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d2223221e7e8b76df16ad427450f3b4c98382ce7
https://github.com/llvm/llvm-project/commit/d2223221e7e8b76df16ad427450f3b4c98382ce7
Author: Bjorn Pettersson <bjorn.a.pettersson at ericsson.com>
Date: 2023-06-09 (Fri, 09 Jun 2023)
Changed paths:
M llvm/lib/Transforms/Vectorize/LoadStoreVectorizer.cpp
Log Message:
-----------
[LoadStoreVectorizer] Optimize check for IsAllocaAccess. NFC
Swap order for checking address space and the strip pointer cast
when analyzing if a load/store is accessing an alloca. This to
make sure we do the cheaper check first.
This is done as a follow up to D152386.
More information about the All-commits
mailing list