[PATCH] D22959: MachineLoopInfo: add methods findLoopPreheader and getExitingBlock

Sjoerd Meijer via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 3 09:13:08 PDT 2016


SjoerdMeijer updated this revision to Diff 66672.
SjoerdMeijer added a comment.

I've added a second argument SpeculativePreheader to function findLoopPreheader. This allowed more refactoring in the Hexagon backend as we can don't need a local implementation of that function anymore, but just a call to the one in MachineLoopInfo.


https://reviews.llvm.org/D22959

Files:
  include/llvm/CodeGen/MachineLoopInfo.h
  lib/CodeGen/MachineLoopInfo.cpp
  lib/Target/Hexagon/HexagonHardwareLoops.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D22959.66672.patch
Type: text/x-patch
Size: 9032 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160803/0269d8f0/attachment.bin>


More information about the llvm-commits mailing list