[all-commits] [llvm/llvm-project] a09d9b: ConstantFolding: Constant fold denormal inputs to ...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Mon Jul 24 16:56:30 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a09d9b42f16264980138a7bebd89f49b38c36fbd
      https://github.com/llvm/llvm-project/commit/a09d9b42f16264980138a7bebd89f49b38c36fbd
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2023-07-24 (Mon, 24 Jul 2023)

  Changed paths:
    M llvm/lib/Analysis/ConstantFolding.cpp
    M llvm/test/Transforms/InstSimplify/canonicalize.ll

  Log Message:
  -----------
  ConstantFolding: Constant fold denormal inputs to canonicalize for IEEE

This makes it possible to use canonicalize to perform a dynamic check
for whether denormal flushing is enabled, which will fold out when the
denormal mode is known. Previously it would only fold if denormal
flushing were known enabled.

https://reviews.llvm.org/D156107




More information about the All-commits mailing list