[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


================
@@ -6820,6 +6821,9 @@ bool llvm::isSafeToSpeculativelyExecuteWithOpcode(
     return false;
   }
   case Instruction::Load: {
+    if (!UseOperandInfo)
----------------
dtcxzyw wrote:

```suggestion
    if (!UseVariableInfo)
```

https://github.com/llvm/llvm-project/pull/99492


More information about the llvm-commits mailing list