mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-16 00:17:32 +00:00
Add a missing const qualifier on the context instruction. This somehow
has always been missing. =/ git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@256371 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5c7343b3a6
commit
5276bfeab1
@ -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
Block a user