[PATCH] D68257: [Support] Add mathematical constants

Evandro Menezes via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 30 21:09:19 PDT 2019


evandro created this revision.
evandro added reviewers: xbolva00, spatel.
Herald added subscribers: llvm-commits, kristina, hiraditya, nhaehnle, jvesely.
Herald added a project: LLVM.

Add own version of the mathematical constants from the upcoming C++20 `std::numbers`.


Repository:
  rL LLVM

https://reviews.llvm.org/D68257

Files:
  llvm/include/llvm/Support/MathExtras.h
  llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
  llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
  llvm/lib/Target/AMDGPU/AMDGPULibCalls.cpp
  llvm/lib/Target/AMDGPU/R600ISelLowering.cpp
  llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
  llvm/test/CodeGen/AMDGPU/llvm.log10.f16.ll
  llvm/test/CodeGen/AMDGPU/llvm.log10.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D68257.222543.patch
Type: text/x-patch
Size: 12610 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191001/7450bece/attachment.bin>


More information about the llvm-commits mailing list