[all-commits] [llvm/llvm-project] fcff45: [LoongArch] Permit auto-vectorization using LSX/LA...
wanglei via All-commits
all-commits at lists.llvm.org
Mon Jan 22 17:06:47 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: fcff4582f01db2f5a99e3acf452aec9f2d8a126a
https://github.com/llvm/llvm-project/commit/fcff4582f01db2f5a99e3acf452aec9f2d8a126a
Author: wanglei <wanglei at loongson.cn>
Date: 2024-01-23 (Tue, 23 Jan 2024)
Changed paths:
M llvm/lib/Target/LoongArch/LoongArch.td
M llvm/lib/Target/LoongArch/LoongArchSubtarget.h
M llvm/lib/Target/LoongArch/LoongArchTargetTransformInfo.cpp
M llvm/lib/Target/LoongArch/LoongArchTargetTransformInfo.h
A llvm/test/Transforms/LoopVectorize/LoongArch/defaults.ll
A llvm/test/Transforms/LoopVectorize/LoongArch/lit.local.cfg
Log Message:
-----------
[LoongArch] Permit auto-vectorization using LSX/LASX with `auto-vec` feature (#78943)
With enough codegen complete, we can now correctly report the size of
vector registers for LSX/LASX, allowing auto vectorization (The
`auto-vec` feature needs to be enabled simultaneously).
As described, the `auto-vec` feature is an experimental one. To ensure
that automatic vectorization is not enabled by default, because the
information provided by the current `TTI` cannot yield additional
benefits for automatic vectorization.
More information about the All-commits
mailing list