[PATCH] D84479: [X86] Detect if EFLAGs is live across XBEGIN pseudo instruction. Add it as livein to the basic blocks created when expanding the pseudo

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 24 12:00:26 PDT 2020


craig.topper updated this revision to Diff 280539.
craig.topper added a comment.

Refactor code to just return false when we find a def. Then we don't have to check explicitly for end of the block. If we fall out of the loop then we must have reached the end of the block.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D84479/new/

https://reviews.llvm.org/D84479

Files:
  llvm/lib/Target/X86/X86ISelLowering.cpp
  llvm/test/CodeGen/X86/pr46827.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D84479.280539.patch
Type: text/x-patch
Size: 4893 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200724/94d36193/attachment.bin>


More information about the llvm-commits mailing list