[clang] [flang] [mlir] [flang] Add support for -mprefer-vector-width=<value> (PR #141380)
Tarun Prabhu via cfe-commits
cfe-commits at lists.llvm.org
Wed May 28 06:30:42 PDT 2025
================
@@ -0,0 +1,9 @@
+; RUN: mlir-translate -import-llvm -split-input-file %s | FileCheck %s
+
+; CHECK-LABEL: llvm.func @prefer_vector_width()
+; CHECK: prefer_vector_width = "128"
----------------
tarunprabhu wrote:
Should this be `CHECK-SAME`? I assume that you intend to match `prefer_vector_width` which appears in the attributes of `llvm.func`. The attributes appear on the same line, don't they?
https://github.com/llvm/llvm-project/pull/141380
More information about the cfe-commits
mailing list