[PATCH] D67539: [ARM][LowOverheadLoops] Add LR def safety check

Sam Parker via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 17 02:58:22 PDT 2019


samparker updated this revision to Diff 220462.
samparker added a comment.

- Removed the template from SearchUse as we only use it once.
- Updated the searches to iterate over a range.
- Tried to see if the iterator kind, for SearchDef, could be implicit, but I didn't find a way to have a generic 'iterator' for the machine block - one without its direction defined.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D67539/new/

https://reviews.llvm.org/D67539

Files:
  lib/Target/ARM/ARMLowOverheadLoops.cpp
  test/CodeGen/Thumb2/LowOverheadLoops/cond-mov.mir
  test/CodeGen/Thumb2/LowOverheadLoops/end-positive-offset.mir
  test/CodeGen/Thumb2/LowOverheadLoops/mov-after-dls.mir
  test/CodeGen/Thumb2/LowOverheadLoops/revert-after-call.mir
  test/CodeGen/Thumb2/LowOverheadLoops/revert-after-read.mir
  test/CodeGen/Thumb2/LowOverheadLoops/revert-after-spill.mir
  test/CodeGen/Thumb2/LowOverheadLoops/revert-after-write.mir
  test/CodeGen/Thumb2/LowOverheadLoops/revert-non-loop.mir
  test/CodeGen/Thumb2/LowOverheadLoops/revert-while.mir
  test/CodeGen/Thumb2/LowOverheadLoops/safe-def-no-mov.mir
  test/CodeGen/Thumb2/LowOverheadLoops/unsafe-liveout.mir
  test/CodeGen/Thumb2/LowOverheadLoops/unsafe-use-after.mir
  test/CodeGen/Thumb2/LowOverheadLoops/while-negative-offset.mir
  test/CodeGen/Thumb2/LowOverheadLoops/while.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D67539.220462.patch
Type: text/x-patch
Size: 63020 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190917/d85a6bbb/attachment.bin>


More information about the llvm-commits mailing list