[PATCH] D52450: [Intrinsic] Add llvm.minnan and llvm.maxnan instrinsic functions

Thomas Lively via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 26 17:03:25 PDT 2018


tlively updated this revision to Diff 167214.
tlively added a comment.

- Add comments as requested
- Add analogous functionality and tests for every target-independent usage of `minnum` and `maxnum`


Repository:
  rL LLVM

https://reviews.llvm.org/D52450

Files:
  docs/LangRef.rst
  include/llvm/ADT/APFloat.h
  include/llvm/IR/IRBuilder.h
  include/llvm/IR/Intrinsics.td
  lib/Analysis/ConstantFolding.cpp
  lib/Analysis/InstructionSimplify.cpp
  lib/Analysis/ValueTracking.cpp
  lib/Analysis/VectorUtils.cpp
  lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
  lib/Transforms/InstCombine/InstCombineCalls.cpp
  test/Analysis/ConstantFolding/min-max.ll
  test/Transforms/InstCombine/maxnan.ll
  test/Transforms/InstCombine/minnan.ll
  test/Transforms/InstSimplify/floating-point-arithmetic.ll
  test/Transforms/InstSimplify/floating-point-compare.ll
  test/Transforms/LICM/hoist-round.ll
  test/Transforms/LoopVectorize/intrinsic.ll
  test/Transforms/Scalarizer/intrinsics.ll
  test/Transforms/SimplifyCFG/speculate-math.ll
  unittests/ADT/APFloatTest.cpp
  unittests/IR/IRBuilderTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D52450.167214.patch
Type: text/x-patch
Size: 59301 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180927/d632598d/attachment.bin>


More information about the llvm-commits mailing list