[llvm] [InstCombine] Do not use operand info in `replaceInInstruction` (PR #99492)
Yingwei Zheng via llvm-commits
llvm-commits at lists.llvm.org
Sun Jul 21 07:51:56 PDT 2024
================
@@ -6760,15 +6760,16 @@ bool llvm::isSafeToSpeculativelyExecute(const Instruction *Inst,
const Instruction *CtxI,
AssumptionCache *AC,
const DominatorTree *DT,
- const TargetLibraryInfo *TLI) {
+ const TargetLibraryInfo *TLI,
+ bool UseOperandInfo) {
return isSafeToSpeculativelyExecuteWithOpcode(Inst->getOpcode(), Inst, CtxI,
- AC, DT, TLI);
+ AC, DT, TLI, UseOperandInfo);
----------------
dtcxzyw wrote:
```suggestion
AC, DT, TLI, UseVariableInfo);
```
https://github.com/llvm/llvm-project/pull/99492
More information about the llvm-commits
mailing list