[all-commits] [llvm/llvm-project] 26e0ce: [flang] update fir.box_rank and fir.is_array codeg...

jeanPerier via All-commits all-commits at lists.llvm.org
Tue May 28 08:32:49 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 26e0ce0b3633c67e09d2f3a99e0d4058a4e0a887
      https://github.com/llvm/llvm-project/commit/26e0ce0b3633c67e09d2f3a99e0d4058a4e0a887
  Author: jeanPerier <jperier at nvidia.com>
  Date:   2024-05-28 (Tue, 28 May 2024)

  Changed paths:
    M flang/include/flang/Optimizer/CodeGen/FIROpPatterns.h
    M flang/lib/Optimizer/CodeGen/CodeGen.cpp
    M flang/lib/Optimizer/CodeGen/FIROpPatterns.cpp
    M flang/test/Fir/convert-to-llvm.fir
    M flang/test/Fir/tbaa.fir

  Log Message:
  -----------
  [flang] update fir.box_rank and fir.is_array codegen (#93541)

fir.box_rank codegen was invalid, it was assuming the rank field in the
descriptor was an i32. This is not correct. Do not hard code the type,
use the named position to find the type, and convert as needed in the
patterns.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list