diff options
author | Ulrich Weigand <ulrich.weigand@de.ibm.com> | 2012-10-29 18:35:49 +0000 |
---|---|---|
committer | Ulrich Weigand <ulrich.weigand@de.ibm.com> | 2012-10-29 18:35:49 +0000 |
commit | e669c930a61dd56891df2f9822966ecb173c8072 (patch) | |
tree | 53ff745488557829caca914c70c8635200cd6e69 /include/llvm/CodeGen | |
parent | 159c735f7b8c4ec441780abcfccbe66f14346543 (diff) | |
download | llvm-e669c930a61dd56891df2f9822966ecb173c8072.tar.gz llvm-e669c930a61dd56891df2f9822966ecb173c8072.tar.bz2 llvm-e669c930a61dd56891df2f9822966ecb173c8072.tar.xz |
In various places throughout the code generator, there were special
checks to avoid performing compile-time arithmetic on PPCDoubleDouble.
Now that APFloat supports arithmetic on PPCDoubleDouble, those checks
are no longer needed, and we can treat the type like any other.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166958 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen')
-rw-r--r-- | include/llvm/CodeGen/SelectionDAGNodes.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/llvm/CodeGen/SelectionDAGNodes.h b/include/llvm/CodeGen/SelectionDAGNodes.h index 2c82875108..362e9afd22 100644 --- a/include/llvm/CodeGen/SelectionDAGNodes.h +++ b/include/llvm/CodeGen/SelectionDAGNodes.h @@ -1199,9 +1199,6 @@ public: /// have to duplicate its logic everywhere it's called. bool isExactlyValue(double V) const { bool ignored; - // convert is not supported on this type - if (&Value->getValueAPF().getSemantics() == &APFloat::PPCDoubleDouble) - return false; APFloat Tmp(V); Tmp.convert(Value->getValueAPF().getSemantics(), APFloat::rmNearestTiesToEven, &ignored); |