[PATCH] D43850: [CodeGen] Avoid handling DBG_VALUE instructions for stepBackwards

Matthias Braun via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 27 18:15:17 PST 2018


MatzeB added a comment.

This is surprising: DBG_VALUE should not have any defs so `removeDefs()` should have no effect and all uses should be marked with the debug flag so none of them should pass the `MachineOperand::readsReg()` test in addUses. Could you check whether the debug flag is set correctly? Did you try running your test with -verify-machineinstrs?


https://reviews.llvm.org/D43850





More information about the llvm-commits mailing list