[llvm] [SROA] Only try additional vector type candidates when needed (PR #77678)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 11 23:55:28 PST 2024
================
@@ -2216,86 +2317,9 @@ static VectorType *isVectorPromotionViable(Partition &P, const DataLayout &DL) {
}
}
- // If we didn't find a vector type, nothing to do here.
- if (CandidateTys.empty())
----------------
arsenm wrote:
It would be easier to review if the NFC move-to-function part were pre-committed. Not sure where the logic change is
https://github.com/llvm/llvm-project/pull/77678
More information about the llvm-commits
mailing list