[Mlir-commits] [flang] [mlir] [LLVM-Flang][OpenMP] Fix to resolve the crash with SIMD aligned clause. (PR #150612)
Kiran Chandramohan
llvmlistbot at llvm.org
Mon Jul 28 03:15:54 PDT 2025
================
@@ -58,3 +58,21 @@ llvm.func @_QPsimd_aligned_allocatable() {
}
llvm.return
}
+
+//CHECK-LABEL: define void @_QPsimd_aligned_non_power_of_two() {
+//CHECK: %[[A_ADDR:.*]] = alloca { ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]] }, i64 1, align 8
+//CHECK-NOT: call void @llvm.assume(i1 true) [ "align"(ptr %{{.*}}, i64 256) ]
----------------
kiranchandramohan wrote:
Do you mean `i64 256` instead of `i64 257` here?
https://github.com/llvm/llvm-project/pull/150612
More information about the Mlir-commits
mailing list