[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

Djordje Todorovic via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 24 10:06:35 PDT 2020


djtodoro added a comment.

@craig.topper Thanks for fixing this!



================
Comment at: llvm/lib/Target/X86/X86ISelLowering.cpp:31005
+
+  if (IsEFlagsLive(MI, MBB)) {
+    mainMBB->addLiveIn(X86::EFLAGS);
----------------
So this situation can happen *only* for `$EFLAGS`?


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

https://reviews.llvm.org/D84479





More information about the llvm-commits mailing list