[PATCH] D69606: [X86] Add test case for PR43758. NFC

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 30 00:03:01 PDT 2019


craig.topper created this revision.
craig.topper added reviewers: arsenm, efriedma, RKSimon, spatel.
Herald added subscribers: hiraditya, wdng.
Herald added a project: LLVM.

[MachineBasicBlock] Skip over debug instructions in computeRegisterLiveness before checking for begin/end.

If there are debug instructions before/after the stopping point,
we need to skip over them before checking for begin/end in order
to avoid having the debug instructions effect behavior.

Fixes PR43758.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D69606

Files:
  llvm/lib/CodeGen/MachineBasicBlock.cpp
  llvm/test/CodeGen/X86/leaFixup64.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D69606.227034.patch
Type: text/x-patch
Size: 2433 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191030/038591a5/attachment.bin>


More information about the llvm-commits mailing list