[all-commits] [llvm/llvm-project] b9aa3e: [Flang] Add a missing case for bfloat

kiranchandramohan via All-commits all-commits at lists.llvm.org
Fri Apr 28 11:39:46 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b9aa3eb28cd9d818c2ca8f3c62cb4b780cdc145c
      https://github.com/llvm/llvm-project/commit/b9aa3eb28cd9d818c2ca8f3c62cb4b780cdc145c
  Author: Kiran Chandramohan <kiran.chandramohan at arm.com>
  Date:   2023-04-28 (Fri, 28 Apr 2023)

  Changed paths:
    M flang/lib/Optimizer/Builder/FIRBuilder.cpp
    A flang/test/Lower/complex-real.f90

  Log Message:
  -----------
  [Flang] Add a missing case for bfloat

A case was missed for the bfloat type in the getRealType function
in FIRBuilder. This can cause a crash in some situations like in
the provided test. The patch adds the missing case.

Reviewed By: vzakhari

Differential Revision: https://reviews.llvm.org/D149469




More information about the All-commits mailing list