[PATCH] D74605: [ARM][RDA] add getUniqueReachingMIDef

Sam Parker via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 14 05:01:52 PST 2020


samparker created this revision.
samparker added reviewers: dmgreen, SjoerdMeijer.
Herald added subscribers: hiraditya, kristof.beyls.
Herald added a project: LLVM.

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. This now replaces the uses of getReachingMIDef in ARMLowOverheadLoops. getReachingMIDef has been renamed to getReachingLocalMIDef and has been made private along with getInstFromId.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D74605

Files:
  llvm/include/llvm/CodeGen/ReachingDefAnalysis.h
  llvm/lib/CodeGen/ReachingDefAnalysis.cpp
  llvm/lib/Target/ARM/ARMLowOverheadLoops.cpp
  llvm/test/CodeGen/Thumb2/LowOverheadLoops/matrix.mir
  llvm/test/CodeGen/Thumb2/LowOverheadLoops/multiple-do-loops.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D74605.244627.patch
Type: text/x-patch
Size: 13038 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200214/735642e4/attachment.bin>


More information about the llvm-commits mailing list