diff options
author | Sjoerd Meijer <sjoerd.meijer@arm.com> | 2020-11-30 11:16:10 +0000 |
---|---|---|
committer | Sjoerd Meijer <sjoerd.meijer@arm.com> | 2020-11-30 11:36:55 +0000 |
commit | 5110ff08176f29eefd7638e328d65dfd1c1ad042 (patch) | |
tree | 5167733e277dffa8fcd86dde4b3acc0d3ffc3bb2 /llvm/tools/llvm-objdump/llvm-objdump.cpp | |
parent | a7f8d96b16a394a87230d592c727906f67a4ba07 (diff) | |
download | llvm-5110ff08176f29eefd7638e328d65dfd1c1ad042.zip llvm-5110ff08176f29eefd7638e328d65dfd1c1ad042.tar.gz llvm-5110ff08176f29eefd7638e328d65dfd1c1ad042.tar.bz2 |
[AArch64][CostModel] Fix cost for mul <2 x i64>
This was modeled to have a cost of 1, but since we do not have a MUL.2d this is
scalarized into vector inserts/extracts and scalar muls.
Motivating precommitted test is test/Transforms/SLPVectorizer/AArch64/mul.ll,
which we don't want to SLP vectorize.
Test Transforms/LoopVectorize/AArch64/extractvalue-no-scalarization-required.ll
unfortunately needed changing, but the reason is documented in
LoopVectorize.cpp:6855:
// The cost of executing VF copies of the scalar instruction. This opcode
// is unknown. Assume that it is the same as 'mul'.
which I will address next as a follow up of this.
Differential Revision: https://reviews.llvm.org/D92208
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions