[all-commits] [llvm/llvm-project] 1c3445: [flang] Accept distinct kinds of arguments to IAND...

Peter Klausler via All-commits all-commits at lists.llvm.org
Tue Oct 31 11:03:16 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1c3445052b8fd75f212470aac0fc3d68728ab4ff
      https://github.com/llvm/llvm-project/commit/1c3445052b8fd75f212470aac0fc3d68728ab4ff
  Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
  Date:   2023-10-31 (Tue, 31 Oct 2023)

  Changed paths:
    M flang/docs/Extensions.md
    M flang/lib/Evaluate/intrinsics.cpp

  Log Message:
  -----------
  [flang] Accept distinct kinds of arguments to IAND/IEOR/IOR (#69782)

As is already supported as a common extension for intrinsic functions
like DIM, allow distinct kinds of integer actual arguments to the
MIL-STD bit intrinsic functions IAND, IEOR, and IOR, with the kind of
the result being the largest of the kinds of the operands. (Though one
could make a case that IAND should return the smallest kind of its
operands, that's not what other compilers do.)




More information about the All-commits mailing list