[all-commits] [llvm/llvm-project] 6c61ed: [APFloat] Overload comparison operators

jayfoad via All-commits all-commits at lists.llvm.org
Fri Mar 6 08:43:03 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 6c61edcbab1ccfe456a1cade499a3c48d43c616f
      https://github.com/llvm/llvm-project/commit/6c61edcbab1ccfe456a1cade499a3c48d43c616f
  Author: Jay Foad <jay.foad at amd.com>
  Date:   2020-03-06 (Fri, 06 Mar 2020)

  Changed paths:
    M llvm/include/llvm/ADT/APFloat.h
    M llvm/unittests/ADT/APFloatTest.cpp

  Log Message:
  -----------
  [APFloat] Overload comparison operators

Summary:
These implement the usual IEEE-style floating point comparison
semantics, e.g. +0.0 == -0.0 and all operators except != return false
if either argument is NaN.

Subscribers: arsenm, jvesely, nhaehnle, hiraditya, dexonsmith, kerbowa, llvm-commits

Tags: #llvm

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


  Commit: 11d1573bb6688d71c7f9183e084776cf8067c0fd
      https://github.com/llvm/llvm-project/commit/11d1573bb6688d71c7f9183e084776cf8067c0fd
  Author: Jay Foad <jay.foad at amd.com>
  Date:   2020-03-06 (Fri, 06 Mar 2020)

  Changed paths:
    M llvm/include/llvm/ADT/APFloat.h
    M llvm/lib/Analysis/ConstantFolding.cpp
    M llvm/lib/Analysis/InstructionSimplify.cpp
    M llvm/lib/Analysis/ValueTracking.cpp
    M llvm/lib/IR/Metadata.cpp
    M llvm/lib/Support/APFloat.cpp
    M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
    M llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
    M llvm/lib/Transforms/Scalar/Float2Int.cpp
    M llvm/lib/Transforms/Scalar/Reassociate.cpp
    M llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp

  Log Message:
  -----------
  [APFloat] Make use of new overloaded comparison operators. NFC.

Reviewers: ekatz, spatel, jfb, tlively, craig.topper, RKSimon, nikic, scanon

Subscribers: arsenm, jvesely, nhaehnle, hiraditya, dexonsmith, kerbowa, llvm-commits

Tags: #llvm

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


  Commit: 596446623bad1b4be06039b331e9647f48e48419
      https://github.com/llvm/llvm-project/commit/596446623bad1b4be06039b331e9647f48e48419
  Author: Jay Foad <jay.foad at amd.com>
  Date:   2020-03-06 (Fri, 06 Mar 2020)

  Changed paths:
    M llvm/lib/Analysis/ConstantFolding.cpp
    A llvm/test/Analysis/ConstantFolding/AMDGPU/cubeid.ll
    A llvm/test/Analysis/ConstantFolding/AMDGPU/cubema.ll
    A llvm/test/Analysis/ConstantFolding/AMDGPU/cubesc.ll
    A llvm/test/Analysis/ConstantFolding/AMDGPU/cubetc.ll

  Log Message:
  -----------
  [AMDGPU][ConstantFolding] Fold llvm.amdgcn.cube* intrinsics

Summary:
This folds the following family of intrinsics:
llvm.amdgcn.cubeid (face id)
llvm.amdgcn.cubema (major axis)
llvm.amdgcn.cubesc (S coordinate)
llvm.amdgcn.cubetc (T coordinate)

Reviewers: nhaehnle, arsenm, rampitec

Subscribers: kzhuravl, jvesely, wdng, yaxunl, dstuttard, tpr, t-tye, hiraditya, kerbowa, llvm-commits

Tags: #llvm

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


Compare: https://github.com/llvm/llvm-project/compare/69ec84f8e7fa...596446623bad


More information about the All-commits mailing list