[InstructionSimplify] Add missing implementation of llvm::SimplifyUnOp. NFC

There are no callers currently, but the function is declared so we should at
least implement it.

llvm-svn: 362205
This commit is contained in:
Craig Topper 2019-05-31 08:10:23 +00:00
parent f4a6dd28b6
commit b457e430f3
1 changed files with 4 additions and 0 deletions

View File

@ -4589,6 +4589,10 @@ static Value *simplifyFPUnOp(unsigned Opcode, Value *Op,
} }
} }
Value *llvm::SimplifyUnOp(unsigned Opcode, Value *Op, const SimplifyQuery &Q) {
return ::simplifyUnOp(Opcode, Op, Q, RecursionLimit);
}
Value *llvm::SimplifyFPUnOp(unsigned Opcode, Value *Op, FastMathFlags FMF, Value *llvm::SimplifyFPUnOp(unsigned Opcode, Value *Op, FastMathFlags FMF,
const SimplifyQuery &Q) { const SimplifyQuery &Q) {
return ::simplifyFPUnOp(Opcode, Op, FMF, Q, RecursionLimit); return ::simplifyFPUnOp(Opcode, Op, FMF, Q, RecursionLimit);