[flang-commits] [flang] [Flang] - Handle `BoxCharType` in `fir.box_offset` op (PR #141713)

Pranav Bhandarkar via flang-commits flang-commits at lists.llvm.org
Wed Jun 4 07:32:40 PDT 2025


================
@@ -37,3 +37,13 @@ func.func @array_tdesc(%array : !fir.ref<!fir.class<!fir.ptr<!fir.array<?x!fir.t
 // CHECK-SAME: ptr captures(none) %[[BOX:.*]]){{.*}}{
 // CHECK:    %[[VAL_0:.*]] = getelementptr { ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]], ptr, [1 x i64] }, ptr %[[BOX]], i32 0, i32 8
 // CHECK:    ret ptr %[[VAL_0]]
+
----------------
bhandarkar-pranav wrote:

Thank you for you review. I noticed. I'll take care of it.

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


More information about the flang-commits mailing list