[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
Mon Feb 19 07:21:13 PST 2024
================
@@ -3231,9 +3231,12 @@ void InstCombinerImpl::handleUnreachableFrom(
MadeIRChange = true;
}
- // RemoveDIs: to match behaviour in dbg.value mode, drop debug-info on
- // terminator too.
- BB->getTerminator()->dropDbgValues();
+ SmallVector<Value *, 4> Changed;
----------------
nikic wrote:
```suggestion
SmallVector<Value *> Changed;
```
https://github.com/llvm/llvm-project/pull/78444
More information about the llvm-commits
mailing list