diff options
author | David Truby <david.truby@arm.com> | 2024-06-14 14:10:41 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-14 14:10:41 +0100 |
commit | c6b6e18c4d25305ab98b6eab752de99ea4e15344 (patch) | |
tree | 6220880a51b9fa9d4d54ec9413d4518415864186 /llvm/lib/CodeGen/MachineModuleInfo.cpp | |
parent | 8ab3f8ae0d39048e4bc1198514049813c6765fb6 (diff) | |
download | llvm-c6b6e18c4d25305ab98b6eab752de99ea4e15344.zip llvm-c6b6e18c4d25305ab98b6eab752de99ea4e15344.tar.gz llvm-c6b6e18c4d25305ab98b6eab752de99ea4e15344.tar.bz2 |
[flang] Implement !DIR$ VECTOR ALWAYS (#93830)
This patch implements support for the VECTOR ALWAYS directive, which
forces
vectorization to occurr when possible regardless of a decision by the
cost
model. This is done by adding an attribute to the branch into the loop
in LLVM
to indicate that the loop should always be vectorized.
This patch only implements this directive on plan structured do loops
without labels. Support for unstructured loops and array
expressions is planned for future patches.
Diffstat (limited to 'llvm/lib/CodeGen/MachineModuleInfo.cpp')
0 files changed, 0 insertions, 0 deletions