In DebugValueManager, if a Def is requested to be sunk to the same
place (i.e., Insert is right after Def, not counting DBG_VALUEs)
currently we still do the sink. This can result in unnecessary creation
of DBG_VALUE $noreg. See comments for details. This CL detects this
case and do nothing and return, so we don't end up creating unnecessary
undef DBG_VALUEs.
Details
Details
- Reviewers
dschuff - Commits
- rGa4e32ae4cd97: [WebAssembly] Do nothing when sinking to same place
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo