[all-commits] [llvm/llvm-project] 6c5ba7: [flang] Check constant POS/LEN arguments IBITS eve...

Peter Klausler via All-commits all-commits at lists.llvm.org
Mon Jul 3 13:16:11 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6c5ba7cddfa2210e9ddb12ab6f016b84db9a8b23
      https://github.com/llvm/llvm-project/commit/6c5ba7cddfa2210e9ddb12ab6f016b84db9a8b23
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2023-07-03 (Mon, 03 Jul 2023)

  Changed paths:
    M flang/lib/Evaluate/fold-integer.cpp
    M flang/test/Evaluate/errors01.f90

  Log Message:
  -----------
  [flang] Check constant POS/LEN arguments IBITS even when not both constant

Apply compile-time checks to the values supplied for the POS and LEN
arguments of the IBITS intrinsic function even when only one of them
is a known constant.

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




More information about the All-commits mailing list