[PATCH] D63336: [CodeGen] Check for HardwareLoop Latch ExitBlock

Sam Parker via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 17 03:51:19 PDT 2019


samparker updated this revision to Diff 205013.
samparker retitled this revision from "[CodeGen] Add RequiresLatch to HardwareLoopInfo" to "[CodeGen] Check for HardwareLoop Latch ExitBlock".
samparker edited the summary of this revision.
samparker removed a reviewer: lebedev.ri.
samparker added a comment.

Cheers Dave. I've removed the ExitBlock check in the ARM backend. Also, currently we'd need CounterInReg == RequiresLoopLatchExit so I've just switched to querying CounterInReg instead of introducing a new parameter. If, later, there's another target which has a separate requirement, then we can re-add the option.

      
      


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

https://reviews.llvm.org/D63336

Files:
  include/llvm/Analysis/TargetTransformInfo.h
  lib/CodeGen/HardwareLoops.cpp
  lib/Target/ARM/ARMTargetTransformInfo.cpp
  test/Transforms/HardwareLoops/ARM/structure.ll
  test/Transforms/HardwareLoops/unconditional-latch.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D63336.205013.patch
Type: text/x-patch
Size: 7243 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190617/7a21cf18/attachment.bin>


More information about the llvm-commits mailing list