forked from OSchip/llvm-project
[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:
parent
f4a6dd28b6
commit
b457e430f3
|
@ -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,
|
||||
const SimplifyQuery &Q) {
|
||||
return ::simplifyFPUnOp(Opcode, Op, FMF, Q, RecursionLimit);
|
||||
|
|
Loading…
Reference in New Issue