[all-commits] [llvm/llvm-project] 1aa8e6: [SDag] SimplifyDemandedBits: simplify to FP consta...

Jay Foad via All-commits all-commits at lists.llvm.org
Wed Oct 7 01:31:36 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 1aa8e6a51a0eb378ae7b2f1934946fc25f298905
      https://github.com/llvm/llvm-project/commit/1aa8e6a51a0eb378ae7b2f1934946fc25f298905
  Author: Jay Foad <jay.foad at amd.com>
  Date:   2020-10-07 (Wed, 07 Oct 2020)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
    M llvm/test/CodeGen/ARM/fcopysign.ll
    M llvm/test/CodeGen/X86/combine-bextr.ll
    M llvm/test/CodeGen/X86/copysign-constant-magnitude.ll
    M llvm/test/CodeGen/X86/fp-intrinsics.ll
    M llvm/test/CodeGen/X86/fp-round.ll
    M llvm/test/CodeGen/X86/fp-strict-scalar-inttofp.ll
    M llvm/test/CodeGen/X86/fp128-cast.ll
    M llvm/test/CodeGen/X86/scalar-int-to-fp.ll
    M llvm/test/CodeGen/X86/uint_to_fp-2.ll
    M llvm/test/CodeGen/X86/vector-shuffle-combining.ll

  Log Message:
  -----------
  [SDag] SimplifyDemandedBits: simplify to FP constant if all bits known

We were already doing this for integer constants. This patch implements
the same thing for floating point constants.

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




More information about the All-commits mailing list