[PATCH] D70597: [PHIEliminate] skip dbg instruction when LowerPHINode

Chris Ye via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 22 05:56:16 PST 2019


yechunliang created this revision.
yechunliang added reviewers: gbedwell, probinson.
Herald added subscribers: llvm-commits, hiraditya.
Herald added a project: LLVM.
yechunliang updated this revision to Diff 230638.
yechunliang added a comment.
Herald added a subscriber: aheejin.

update description in test case


Debug instruction should not impact PHI node lower when PHI node is at the top of the specified block.
Fix issue: https://bugs.llvm.org/show_bug.cgi?id=43859


https://reviews.llvm.org/D70597

Files:
  llvm/lib/CodeGen/PHIElimination.cpp
  llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp.bk
  llvm/test/CodeGen/X86/phi-node-elimination-dbg-invariant.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D70597.230638.patch
Type: text/x-patch
Size: 147642 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191122/6c191920/attachment-0001.bin>


More information about the llvm-commits mailing list