forked from OSchip/llvm-project
Add a missing const qualifier on the context instruction. This somehow
has always been missing. =/ llvm-svn: 256371
This commit is contained in:
parent
3d312a684a
commit
85dbea99ee
|
@ -207,7 +207,7 @@ namespace llvm {
|
|||
const TargetLibraryInfo *TLI = nullptr,
|
||||
const DominatorTree *DT = nullptr,
|
||||
AssumptionCache *AC = nullptr,
|
||||
Instruction *CxtI = nullptr);
|
||||
const Instruction *CxtI = nullptr);
|
||||
|
||||
/// SimplifyFCmpInst - Given operands for an FCmpInst, see if we can
|
||||
/// fold the result. If not, this returns null.
|
||||
|
|
|
@ -3097,7 +3097,7 @@ Value *llvm::SimplifyICmpInst(unsigned Predicate, Value *LHS, Value *RHS,
|
|||
const DataLayout &DL,
|
||||
const TargetLibraryInfo *TLI,
|
||||
const DominatorTree *DT, AssumptionCache *AC,
|
||||
Instruction *CxtI) {
|
||||
const Instruction *CxtI) {
|
||||
return ::SimplifyICmpInst(Predicate, LHS, RHS, Query(DL, TLI, DT, AC, CxtI),
|
||||
RecursionLimit);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue