diff options
| author | Michael Gottesman <mgottesman@apple.com> | 2013-06-19 21:23:18 +0000 |
|---|---|---|
| committer | Michael Gottesman <mgottesman@apple.com> | 2013-06-19 21:23:18 +0000 |
| commit | 3cb77ab98a370250778ed85dd28b88516344ac6d (patch) | |
| tree | 8df10fc2b1adc26cef795bb2df9e3a83d0b6e817 /llvm/lib/IR | |
| parent | 38e6b86da0672d73293a928427d78b9b80ef5baf (diff) | |
| download | bcm5719-llvm-3cb77ab98a370250778ed85dd28b88516344ac6d.tar.gz bcm5719-llvm-3cb77ab98a370250778ed85dd28b88516344ac6d.zip | |
[APFloat] Converted all references to APFloat::isNormal => APFloat::isFiniteNonZero.
Turns out all the references were in llvm and not in clang.
llvm-svn: 184356
Diffstat (limited to 'llvm/lib/IR')
| -rw-r--r-- | llvm/lib/IR/Verifier.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/IR/Verifier.cpp b/llvm/lib/IR/Verifier.cpp index df28cee03e2..1b1b3b8a1ea 100644 --- a/llvm/lib/IR/Verifier.cpp +++ b/llvm/lib/IR/Verifier.cpp @@ -1955,7 +1955,7 @@ void Verifier::visitInstruction(Instruction &I) { Value *Op0 = MD->getOperand(0); if (ConstantFP *CFP0 = dyn_cast_or_null<ConstantFP>(Op0)) { APFloat Accuracy = CFP0->getValueAPF(); - Assert1(Accuracy.isNormal() && !Accuracy.isNegative(), + Assert1(Accuracy.isFiniteNonZero() && !Accuracy.isNegative(), "fpmath accuracy not a positive number!", &I); } else { Assert1(false, "invalid fpmath accuracy!", &I); |

