[PATCH] D60905: [OpenMP][LLVM][WIP] Add math functions support to OpenMP
Gheorghe-Teodor Bercea via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 19 14:29:11 PDT 2019
gtbercea updated this revision to Diff 195917.
gtbercea edited the summary of this revision.
gtbercea added a comment.
- Fix comment.
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D60905/new/
https://reviews.llvm.org/D60905
Files:
lib/Target/NVPTX/NVPTXISelLowering.cpp
Index: lib/Target/NVPTX/NVPTXISelLowering.cpp
===================================================================
--- lib/Target/NVPTX/NVPTXISelLowering.cpp
+++ lib/Target/NVPTX/NVPTXISelLowering.cpp
@@ -583,6 +583,13 @@
// No FEXP2, FLOG2. The PTX ex2 and log2 functions are always approximate.
// No FPOW or FREM in PTX.
+ setOperationAction(ISD::FPOW, MVT::f32, Expand);
+ setOperationAction(ISD::FPOW, MVT::f64, Expand);
+ setOperationAction(ISD::FPOW, MVT::f80, Expand);
+
+ setOperationAction(ISD::FSIN, MVT::f32, Expand);
+ setOperationAction(ISD::FSIN, MVT::f64, Expand);
+
// Now deduce the information based on the above mentioned
// actions
computeRegisterProperties(STI.getRegisterInfo());
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D60905.195917.patch
Type: text/x-patch
Size: 800 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190419/ddd05936/attachment.bin>
More information about the llvm-commits
mailing list