[all-commits] [llvm/llvm-project] ce9cef: [flang] Add support for -mprefer-vector-width=<val...

Cameron McInally via All-commits all-commits at lists.llvm.org
Fri May 30 06:50:39 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ce9cef79ea3f1ee86e4dc674d4c05b2fa8b3c7a8
      https://github.com/llvm/llvm-project/commit/ce9cef79ea3f1ee86e4dc674d4c05b2fa8b3c7a8
  Author: Cameron McInally <cameron.mcinally at nyu.edu>
  Date:   2025-05-30 (Fri, 30 May 2025)

  Changed paths:
    M clang/include/clang/Driver/Options.td
    M flang/include/flang/Frontend/CodeGenOptions.h
    M flang/include/flang/Optimizer/Transforms/Passes.td
    M flang/include/flang/Tools/CrossToolHelpers.h
    M flang/lib/Frontend/CompilerInvocation.cpp
    M flang/lib/Frontend/FrontendActions.cpp
    M flang/lib/Optimizer/Passes/Pipelines.cpp
    M flang/lib/Optimizer/Transforms/FunctionAttr.cpp
    A flang/test/Driver/prefer-vector-width.f90
    M mlir/include/mlir/Dialect/LLVMIR/LLVMOps.td
    M mlir/lib/Target/LLVMIR/ModuleImport.cpp
    M mlir/lib/Target/LLVMIR/ModuleTranslation.cpp
    A mlir/test/Target/LLVMIR/Import/prefer-vector-width.ll
    A mlir/test/Target/LLVMIR/prefer-vector-width.mlir

  Log Message:
  -----------
  [flang] Add support for -mprefer-vector-width=<value> (#142073)

This patch adds support for the -mprefer-vector-width= command line
option. The parsing of this options is equivalent to Clang's and it is
implemented by setting the "prefer-vector-width" function attribute.

Co-authored-by: Cameron McInally <cmcinally at nvidia.com>



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list