[flang-commits] [flang] [Flang] Extracting internal constants from scalar literals (PR #73829)

Tom Eccles via flang-commits flang-commits at lists.llvm.org
Tue Dec 12 02:05:57 PST 2023


================
@@ -16,9 +16,7 @@
 
 // CHECK-LABEL: define void @_QPtest_proc_dummy_other(ptr
 // CHECK-SAME:              %[[VAL_0:.*]])
-// CHECK:         %[[VAL_1:.*]] = alloca i32, i64 1, align 4
----------------
tblah wrote:

Looking at it now, it is weird that this is written as `alloca` not `fir.alloca`. Is it from another dialect?

Which would explain how it has alignment, when I can't see a parameter for that in `fir.alloca`

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


More information about the flang-commits mailing list