[all-commits] [llvm/llvm-project] a3c814: Separately track input and output denormal mode

Matt Arsenault via All-commits all-commits at lists.llvm.org
Tue Feb 4 09:59:57 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: a3c814d23497bc71b8ed53c35f773366aff02922
      https://github.com/llvm/llvm-project/commit/a3c814d23497bc71b8ed53c35f773366aff02922
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2020-02-04 (Tue, 04 Feb 2020)

  Changed paths:
    M clang/include/clang/Basic/CodeGenOptions.h
    M clang/include/clang/Driver/ToolChain.h
    M clang/lib/Basic/Targets/AMDGPU.cpp
    M clang/lib/CodeGen/CGCall.cpp
    M clang/lib/CodeGen/CodeGenModule.cpp
    M clang/lib/Driver/ToolChains/AMDGPU.cpp
    M clang/lib/Driver/ToolChains/Clang.cpp
    M clang/lib/Driver/ToolChains/Cuda.cpp
    M clang/lib/Frontend/CompilerInvocation.cpp
    M clang/test/CodeGen/denormalfpmode.c
    M clang/test/CodeGenCUDA/flush-denormals.cu
    M clang/test/CodeGenCUDA/propagate-metadata.cu
    M clang/test/Driver/cl-denorms-are-zero.cl
    M clang/test/Driver/cuda-flush-denormals-to-zero.cu
    M clang/test/Driver/denormal-fp-math.c
    M llvm/docs/LangRef.rst
    M llvm/include/llvm/ADT/FloatingPointMode.h
    M llvm/lib/CodeGen/MachineFunction.cpp
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    M llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp
    M llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
    M llvm/unittests/ADT/FloatingPointMode.cpp

  Log Message:
  -----------
  Separately track input and output denormal mode

AMDGPU and x86 at least both have separate controls for whether
denormal results are flushed on output, and for whether denormals are
implicitly treated as 0 as an input. The current DAGCombiner use only
really cares about the input treatment of denormals.




More information about the All-commits mailing list