[llvm] [ValueTracking] Use SimplifyQuery in some public APIs (NFC) (PR #68290)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 5 03:39:26 PDT 2023
================
@@ -500,34 +500,40 @@ class LLVM_LIBRARY_VISIBILITY InstCombiner {
OverflowResult computeOverflowForUnsignedMul(const Value *LHS,
const Value *RHS,
const Instruction *CxtI) const {
- return llvm::computeOverflowForUnsignedMul(LHS, RHS, DL, &AC, CxtI, &DT);
+ return llvm::computeOverflowForUnsignedMul(LHS, RHS,
+ SQ.getWithInstruction(CxtI));
}
----------------
fhahn wrote:
Should this explicitly include SimplifyQuery.h?
https://github.com/llvm/llvm-project/pull/68290
More information about the llvm-commits
mailing list