[all-commits] [llvm/llvm-project] ac30ea: [RDA][ARM] Move functionality into RDA

Sam Parker via All-commits all-commits at lists.llvm.org
Wed Jan 29 00:28:01 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: ac30ea2f877ed82911fd1e3fd9f9d86c8072d05f
      https://github.com/llvm/llvm-project/commit/ac30ea2f877ed82911fd1e3fd9f9d86c8072d05f
  Author: Sam Parker <sam.parker at arm.com>
  Date:   2020-01-29 (Wed, 29 Jan 2020)

  Changed paths:
    M llvm/include/llvm/CodeGen/ReachingDefAnalysis.h
    M llvm/lib/CodeGen/ReachingDefAnalysis.cpp
    M llvm/lib/Target/ARM/ARMLowOverheadLoops.cpp

  Log Message:
  -----------
  [RDA][ARM] Move functionality into RDA

Add several new helpers to RDA:
- hasLocalDefBefore
- isRegDefinedAfter
- isSafeToDefRegAt

And move two bits of logic from ARMLowOverheadLoops into RDA:
- isSafeToMove
- isSafeToRemove

Both of these have some wrappers too to make them more convienent to
use.

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




More information about the All-commits mailing list