[flang-commits] [flang] Reland [flang] In AllocMemOp lowering, convert types for calling malloc on 32-bit (PR #130386)

Tom Eccles via flang-commits flang-commits at lists.llvm.org
Mon Mar 10 04:09:46 PDT 2025


================
@@ -4,6 +4,10 @@
 ! RUN: %flang_fc1 -emit-llvm -fopenmp -o - %s 2>&1 \
 ! RUN: | FileCheck %s
 
+! UNSUPPORTED: target-x86
+! UNSUPPORTED: target=sparc-{{.*}}
+! UNSUPPORTED: target=sparcel-{{.*}}
----------------
tblah wrote:

Thanks for your quick response. If possible I would like to keep the test coverage. For these tests the test doesn't really care what type is used with malloc, so long as the right number is used. So you could do something like
```
!CHECK: call ptr @malloc(i{{[0-9]+}} 80)
```

https://github.com/llvm/llvm-project/pull/130386


More information about the flang-commits mailing list