summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PowerPC/PPCISelLowering.h
diff options
context:
space:
mode:
authorStefan Pintilie <stefanp@ca.ibm.com>2018-10-23 17:11:36 +0000
committerStefan Pintilie <stefanp@ca.ibm.com>2018-10-23 17:11:36 +0000
commit927e8bf316b3c66df509c396e19f0e1de1b98e79 (patch)
treeabc98ee2bfe57a5edabc418e712e01141f517dbd /llvm/lib/Target/PowerPC/PPCISelLowering.h
parent07076cfdf63dc0599cc5f1910b825404f53a8053 (diff)
downloadbcm5719-llvm-927e8bf316b3c66df509c396e19f0e1de1b98e79.tar.gz
bcm5719-llvm-927e8bf316b3c66df509c396e19f0e1de1b98e79.zip
[Power9] Add __float128 support in the backend for bitcast to a i128
Add support to allow bit-casting from f128 to i128 and then extracting 64 bits from the result. Differential Revision: https://reviews.llvm.org/D49507 llvm-svn: 345053
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCISelLowering.h')
-rw-r--r--llvm/lib/Target/PowerPC/PPCISelLowering.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCISelLowering.h b/llvm/lib/Target/PowerPC/PPCISelLowering.h
index 9709d6bb09e..959831cb1c0 100644
--- a/llvm/lib/Target/PowerPC/PPCISelLowering.h
+++ b/llvm/lib/Target/PowerPC/PPCISelLowering.h
@@ -1093,6 +1093,7 @@ namespace llvm {
SDValue combineSRA(SDNode *N, DAGCombinerInfo &DCI) const;
SDValue combineSRL(SDNode *N, DAGCombinerInfo &DCI) const;
SDValue combineADD(SDNode *N, DAGCombinerInfo &DCI) const;
+ SDValue combineTRUNCATE(SDNode *N, DAGCombinerInfo &DCI) const;
/// ConvertSETCCToSubtract - looks at SETCC that compares ints. It replaces
/// SETCC with integer subtraction when (1) there is a legal way of doing it
OpenPOWER on IntegriCloud