[flang-commits] [flang] [mlir] [mlir] Align num elements type to LLVM ArrayType (PR #93230)
Mehdi Amini via flang-commits
flang-commits at lists.llvm.org
Thu May 23 14:37:23 PDT 2024
================
@@ -2396,3 +2396,9 @@ llvm.func @zeroinit_complex_local_aggregate() {
llvm.linker_options ["/DEFAULTLIB:", "libcmt"]
//CHECK: ![[MD1]] = !{!"/DEFAULTLIB:", !"libcmtd"}
llvm.linker_options ["/DEFAULTLIB:", "libcmtd"]
+
+// -----
+
+// Translation is currently very slow so the test is not enabled.
+//llvm.mlir.global common @big_(dense<0> : vector<4294967296xi8>) {addr_space = 0 : i32} : !llvm.array<4294967296 x i8>
----------------
joker-eph wrote:
So an array of 4G constant (16GB memory just for the array of pointers) is gonna kill a lot of machines out there :)
I don't have a suggestion here though right now. I think you can already that the type change with a simple round-trip, without testing the translation?
https://github.com/llvm/llvm-project/pull/93230
More information about the flang-commits
mailing list