[PATCH] D54199: [CodeGen] Fix bugs in BranchFolderPass when debug labels are generated.

Hsiangkai Wang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 6 23:54:32 PST 2018


HsiangKai created this revision.
HsiangKai added reviewers: aprantl, probinson, dblaikie, hans.

Skip DBG_VALUE and DBG_LABEL in branch folding algorithms.

The bug is reported in https://bugs.chromium.org/p/chromium/issues/detail?id=898160.


Repository:
  rL LLVM

https://reviews.llvm.org/D54199

Files:
  lib/CodeGen/BranchFolding.cpp
  test/CodeGen/MIR/X86/branch-folder-with-label.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D54199.172901.patch
Type: text/x-patch
Size: 14299 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181107/ef18f56c/attachment.bin>


More information about the llvm-commits mailing list