[all-commits] [llvm/llvm-project] e47a6a: [X86] Detect if EFLAGs is live across XBEGIN pseud...

topperc via All-commits all-commits at lists.llvm.org
Tue Jul 28 04:44:05 PDT 2020


  Branch: refs/heads/release/11.x
  Home:   https://github.com/llvm/llvm-project
  Commit: e47a6a224a4b6d0ce98028f560a8b3806d145907
      https://github.com/llvm/llvm-project/commit/e47a6a224a4b6d0ce98028f560a8b3806d145907
  Author: Craig Topper <craig.topper at intel.com>
  Date:   2020-07-28 (Tue, 28 Jul 2020)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    A llvm/test/CodeGen/X86/pr46827.ll

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

XBEGIN causes several based blocks to be inserted. If flags are live across it we need to make eflags live in the new basic blocks to avoid machine verifier errors.

Fixes PR46827

Reviewed By: ivanbaev

Differential Revision: https://reviews.llvm.org/D84479

(cherry picked from commit 647e861e080382593648b234668ad2f5a376ac5e)




More information about the All-commits mailing list