[all-commits] [llvm/llvm-project] 1d06e7: [ARM][RDA] add getUniqueReachingMIDef

Sam Parker via All-commits all-commits at lists.llvm.org
Wed Feb 26 03:15:42 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 1d06e75df2a332edae972876e0e2b08dca3ba925
      https://github.com/llvm/llvm-project/commit/1d06e75df2a332edae972876e0e2b08dca3ba925
  Author: Sam Parker <sam.parker at arm.com>
  Date:   2020-02-26 (Wed, 26 Feb 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:
  -----------
  [ARM][RDA] add getUniqueReachingMIDef

Add getUniqueReachingMIDef to RDA which performs a global search for
a machine instruction that produces a unique definition of a given
register at a given point. Also add two helper functions
(getMIOperand) that wrap around this functionality to get the
incoming definition uses of a given instruction. These now replace
the uses of getReachingMIDef in ARMLowOverheadLoops. getReachingMIDef
has been renamed to getReachingLocalMIDef and has been made private
along with getInstFromId.

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




More information about the All-commits mailing list