[all-commits] [llvm/llvm-project] c1dc26: MachineBasicBlock: add liveout iterator aware of w...

Tim Northover via All-commits all-commits at lists.llvm.org
Wed May 19 03:00:53 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c1dc267258e06bb69e1ca217d1d8ce2d15b8757f
      https://github.com/llvm/llvm-project/commit/c1dc267258e06bb69e1ca217d1d8ce2d15b8757f
  Author: Tim Northover <t.p.northover at gmail.com>
  Date:   2021-05-19 (Wed, 19 May 2021)

  Changed paths:
    M llvm/include/llvm/CodeGen/MachineBasicBlock.h
    M llvm/lib/CodeGen/MachineBasicBlock.cpp
    M llvm/lib/CodeGen/RegAllocFast.cpp
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/fast-isel-cmp-branch.ll
    A llvm/test/CodeGen/X86/regalloc-tight-invoke.ll

  Log Message:
  -----------
  MachineBasicBlock: add liveout iterator aware of which liveins are defined by the runtime.

Using this in RegAlloc fast reduces register pressure, and in some cases allows
x86 code to compile that wouldn't before.




More information about the All-commits mailing list