[PATCH] D43850: [CodeGen] Avoid handling DBG_VALUE in the LivePhysRegs stepping functions.

Matt Davis via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 12 09:47:35 PDT 2018


mattd updated this revision to Diff 138037.
mattd added a comment.

Added debug operand checks (isDebug) to: LivePhysRegs:  addUses, removeDefs, and stepForward.

This is a more specific patch that addresses the description in the original summary: Avoiding the situation where DBG_VALUE instructions influence codegen.


https://reviews.llvm.org/D43850

Files:
  lib/CodeGen/LivePhysRegs.cpp
  test/CodeGen/X86/dbg-changes-codegen-branch-folding2.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43850.138037.patch
Type: text/x-patch
Size: 7780 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180312/a7f22b13/attachment.bin>


More information about the llvm-commits mailing list