[all-commits] [llvm/llvm-project] 462227: [SROA] NFC: Look at TypeStoreSize scalable propert...
sdesmalen-arm via All-commits
all-commits at lists.llvm.org
Wed Feb 15 01:02:02 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 462227f1150fc4a12f95a7a101de477c06d35ba7
https://github.com/llvm/llvm-project/commit/462227f1150fc4a12f95a7a101de477c06d35ba7
Author: Sander de Smalen <sander.desmalen at arm.com>
Date: 2023-02-15 (Wed, 15 Feb 2023)
Changed paths:
M llvm/lib/Transforms/Scalar/SROA.cpp
Log Message:
-----------
[SROA] NFC: Look at TypeStoreSize scalable property, rather than at type directly.
Some places in the code have checks for isa<ScalableVectorType> and use
that to bail out of the code. It's also possible to look directly at the
allocated type-size and check if the size is scalable. This means it's
possible to also support other scalable types that are not vectors (i.e.
TargetExtType).
This is split out from D136861.
More information about the All-commits
mailing list