aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Analysis/LoopAccessAnalysis.cpp
diff options
context:
space:
mode:
authorCaroline Concatto <caroline.concatto@arm.com>2021-01-07 09:07:06 +0000
committerCaroline Concatto <caroline.concatto@arm.com>2021-01-07 14:02:08 +0000
commit01c190e907ca4752f7ba2a1390a8c91a48b322d1 (patch)
treecbaf3dc933650482b2d2d7c8b09c9ba5dc8dcf01 /llvm/lib/Analysis/LoopAccessAnalysis.cpp
parentfcd1e35e4cc6887c3fb880126e60676458e60680 (diff)
downloadllvm-01c190e907ca4752f7ba2a1390a8c91a48b322d1.zip
llvm-01c190e907ca4752f7ba2a1390a8c91a48b322d1.tar.gz
llvm-01c190e907ca4752f7ba2a1390a8c91a48b322d1.tar.bz2
[AArch64][CostModel]Fix gather scatter cost model
This patch fixes a bug introduced in the patch: https://reviews.llvm.org/D93030 This patch pulls the test for scalable vector to be the first instruction to be checked. This avoids the Gather and Scatter cost model for AArch64 to compute the number of vector elements for something that is not a vector and therefore crashing.
Diffstat (limited to 'llvm/lib/Analysis/LoopAccessAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions