[Mlir-commits] [flang] [mlir] [MLIR][OpenMP] Fix type mismatch in linear clause for INTEGER(8) variables (PR #173982)
Tom Eccles
llvmlistbot at llvm.org
Thu Jan 1 10:11:47 PST 2026
================
@@ -0,0 +1,79 @@
+! Test lowering of OpenMP parallel do simd with linear clause on INTEGER(8) variable
+! This is a regression test for issue #173332
+! At MLIR level, the step type may differ from the variable type - this is legal and handled during translation
+
+! RUN: %flang_fc1 -fopenmp -emit-hlfir %s -o - 2>&1 | FileCheck %s
+
+! CHECK-LABEL: func.func @_QPtest_linear_i8
----------------
tblah wrote:
nit: "i8" is easily confused with llvm's i8 type, which is an 8-bit integer. Please could you use "INTEGER(8)" or "i64"
https://github.com/llvm/llvm-project/pull/173982
More information about the Mlir-commits
mailing list