[llvm] [InstCombine] If inst in unreachable refers to an inst change it to poison (#65107) (PR #78444)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 16 05:42:27 PST 2024


================
@@ -357,6 +357,10 @@ Value *salvageDebugInfoImpl(Instruction &I, uint64_t CurrentLocOps,
 bool replaceAllDbgUsesWith(Instruction &From, Value &To, Instruction &DomPoint,
                            DominatorTree &DT);
 
+/// if the terminator in an unreachable basic block refers to an instruction
----------------
nikic wrote:

```suggestion
/// If the terminator in an unreachable basic block refers to an instruction
```

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


More information about the llvm-commits mailing list