diff options
author | David Truby <david.truby@arm.com> | 2025-02-20 13:59:29 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-20 13:59:29 +0000 |
commit | 41cece8c86399dd1ffcb6b7a8b50c10083fe5a40 (patch) | |
tree | 7069c27df7cef53ec4795c21435259689ebd84a2 /llvm/lib/Analysis/LoopAccessAnalysis.cpp | |
parent | a03f064b60f0ccfe9bf31046bc944087ed2fad6c (diff) | |
download | llvm-41cece8c86399dd1ffcb6b7a8b50c10083fe5a40.zip llvm-41cece8c86399dd1ffcb6b7a8b50c10083fe5a40.tar.gz llvm-41cece8c86399dd1ffcb6b7a8b50c10083fe5a40.tar.bz2 |
[flang] Add -f[no-]vectorize flags (#119718)
This patch adds the -fvectorize and -fno-vectorize flags to flang.
Note that this also changes the behaviour of `flang -fc1` to match that
of `clang -cc1`, which is that vectorization is only enabled in the
presence of the `-vectorize-loops` flag.
Additionally, this patch changes the behaviour of the default
optimisation levels to match clang, such that vectorization only happens
at the same levels as it does there.
This patch is in draft while I write an RFC to discuss the above two
changes.
Diffstat (limited to 'llvm/lib/Analysis/LoopAccessAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions