[all-commits] [llvm/llvm-project] 5fe83b: [flang] Correct TypeCode::IsLogical()

Peter Klausler via All-commits all-commits at lists.llvm.org
Mon Apr 12 12:57:43 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5fe83b048a23ab1dabba047bfc551a0c2ac78e1b
      https://github.com/llvm/llvm-project/commit/5fe83b048a23ab1dabba047bfc551a0c2ac78e1b
  Author: peter klausler <pklausler at nvidia.com>
  Date:   2021-04-12 (Mon, 12 Apr 2021)

  Changed paths:
    M flang/runtime/type-code.h

  Log Message:
  -----------
  [flang] Correct TypeCode::IsLogical()

F18 is using the type codes for C's "least" int types to encode
the various kinds of Fortran's LOGICAL intrinsic type; update
the IsLogical() predicate accordingly.  (This member function
isn't yet used anywhere, so this patch is nearly an NFC.)

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




More information about the All-commits mailing list