diff options
author | Sanjay Patel <spatel@rotateright.com> | 2018-04-16 14:13:57 +0000 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2018-04-16 14:13:57 +0000 |
commit | 1170daa2775bbbc865e98e457bc5aed1bafa767b (patch) | |
tree | 18566bb7dd96d354cc6997b9f929dd3ae8e83985 /llvm/lib/Transforms/InstCombine/InstCombineInternal.h | |
parent | 77e990d88700c52ef5aa7d5e0cb5487928b26533 (diff) | |
download | bcm5719-llvm-1170daa2775bbbc865e98e457bc5aed1bafa767b.tar.gz bcm5719-llvm-1170daa2775bbbc865e98e457bc5aed1bafa767b.zip |
[InstCombine] simplify fneg+fadd folds; NFC
Two cleanups:
1. As noted in D45453, we had tests that don't need FMF that were misplaced in the 'fast-math.ll' test file.
2. This removes the final uses of dyn_castFNegVal, so that can be deleted. We use 'match' now.
llvm-svn: 330126
Diffstat (limited to 'llvm/lib/Transforms/InstCombine/InstCombineInternal.h')
-rw-r--r-- | llvm/lib/Transforms/InstCombine/InstCombineInternal.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/InstCombine/InstCombineInternal.h b/llvm/lib/Transforms/InstCombine/InstCombineInternal.h index 40cfc3051c2..915047ec3e7 100644 --- a/llvm/lib/Transforms/InstCombine/InstCombineInternal.h +++ b/llvm/lib/Transforms/InstCombine/InstCombineInternal.h @@ -376,7 +376,6 @@ private: bool shouldChangeType(unsigned FromBitWidth, unsigned ToBitWidth) const; bool shouldChangeType(Type *From, Type *To) const; Value *dyn_castNegVal(Value *V) const; - Value *dyn_castFNegVal(Value *V, bool NoSignedZero = false) const; Type *FindElementAtOffset(PointerType *PtrTy, int64_t Offset, SmallVectorImpl<Value *> &NewIndices); |