[all-commits] [llvm/llvm-project] 5c5bde: [flang] Fold SCALE()

Peter Klausler via All-commits all-commits at lists.llvm.org
Sat Jan 15 09:31:15 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5c5bde1bb6e451e0014067802bc6a9d7b1314636
      https://github.com/llvm/llvm-project/commit/5c5bde1bb6e451e0014067802bc6a9d7b1314636
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2022-01-15 (Sat, 15 Jan 2022)

  Changed paths:
    M flang/include/flang/Evaluate/real.h
    M flang/lib/Evaluate/constant.cpp
    M flang/lib/Evaluate/expression.cpp
    M flang/lib/Evaluate/fold-character.cpp
    M flang/lib/Evaluate/fold-complex.cpp
    M flang/lib/Evaluate/fold-integer.cpp
    M flang/lib/Evaluate/fold-logical.cpp
    M flang/lib/Evaluate/fold-real.cpp
    M flang/lib/Evaluate/formatting.cpp
    M flang/lib/Evaluate/variable.cpp
    M flang/test/Evaluate/errors01.f90
    A flang/test/Evaluate/fold-scale.f90

  Log Message:
  -----------
  [flang] Fold SCALE()

Fold references to the intrinsic function SCALE().

(Also work around some MSVC headaches somehow exposed by
this patch: disable a bogus MSVC warning that began to appear
in unrelated source files, and avoid the otherwise-necessary
use of the "template" keyword in a call to a template member
function of a class template.)

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




More information about the All-commits mailing list