diff options
| author | Cullen Rhodes <cullen.rhodes@arm.com> | 2019-12-04 14:20:33 +0000 |
|---|---|---|
| committer | Cullen Rhodes <cullen.rhodes@arm.com> | 2019-12-20 11:58:00 +0000 |
| commit | 974f00a4369371fae9d25477753c0f68f331e05a (patch) | |
| tree | a75c90d3eb77b65f1ab37533d21b115fff648bc8 /llvm/lib/Target/WebAssembly/WebAssemblyRuntimeLibcallSignatures.cpp | |
| parent | b2371791fc74b2ecad7f608ff8592ec512d098e6 (diff) | |
| download | bcm5719-llvm-974f00a4369371fae9d25477753c0f68f331e05a.tar.gz bcm5719-llvm-974f00a4369371fae9d25477753c0f68f331e05a.zip | |
[AArch64][SVE] Fold constant multiply of element count
Summary:
E.g.
%0 = tail call i64 @llvm.aarch64.sve.cntw(i32 31)
%mul = mul i64 %0, <const>
Should emit:
cntw x0, all, mul #<const>
For <const> in the range 1-16.
Patch by Kerry McLaughlin
Reviewers: sdesmalen, huntergr, dancgr, rengolin, efriedma
Reviewed By: sdesmalen
Subscribers: tschuett, kristof.beyls, hiraditya, rkruppe, psnobl, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D71014
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyRuntimeLibcallSignatures.cpp')
0 files changed, 0 insertions, 0 deletions

