[all-commits] [llvm/llvm-project] f9ebf7: [flang] Correct folding of SAME_TYPE_AS()

Peter Klausler via All-commits all-commits at lists.llvm.org
Thu Dec 15 13:52:11 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f9ebf77ffd9aaaa0f90f9e90667e4daaea3377a3
      https://github.com/llvm/llvm-project/commit/f9ebf77ffd9aaaa0f90f9e90667e4daaea3377a3
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2022-12-15 (Thu, 15 Dec 2022)

  Changed paths:
    M flang/lib/Evaluate/type.cpp

  Log Message:
  -----------
  [flang] Correct folding of SAME_TYPE_AS()

The result can't be known to be true at compilation time when
either operand is polymorphic.

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




More information about the All-commits mailing list