[all-commits] [llvm/llvm-project] 30ad74: [ARM] Fix crash for gather of pointer costs.
David Green via All-commits
all-commits at lists.llvm.org
Sat Oct 31 06:10:41 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 30ad7426442e6f029419366de8fe56eae529c00c
https://github.com/llvm/llvm-project/commit/30ad7426442e6f029419366de8fe56eae529c00c
Author: David Green <david.green at arm.com>
Date: 2020-10-31 (Sat, 31 Oct 2020)
Changed paths:
M llvm/lib/Target/ARM/ARMTargetTransformInfo.cpp
M llvm/test/Analysis/CostModel/ARM/mve-gather-scatter-cost.ll
Log Message:
-----------
[ARM] Fix crash for gather of pointer costs.
If the elt size is unknown due to it being a pointer, a comparison
against 0 will cause an assert. Make sure the elt size is large enough
before comparing and for the moment just return the scalar cost.
More information about the All-commits
mailing list