[PATCH] D63809: [HardwareLoops] Loop counter guard Loop intrinsic

Sam Parker via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 26 01:17:00 PDT 2019


samparker created this revision.
samparker added reviewers: shchenz, hfinkel, markus, JonChesterfield, dmgreen, SjoerdMeijer.
Herald added a project: LLVM.

Introduce llvm.test.set.loop.iterations which sets the loop counter and also produces an i1 after testing that the count is not zero.


Repository:
  rL LLVM

https://reviews.llvm.org/D63809

Files:
  include/llvm/Analysis/TargetTransformInfo.h
  include/llvm/IR/Intrinsics.td
  lib/CodeGen/HardwareLoops.cpp
  test/Transforms/HardwareLoops/scalar-while.ll
  test/Transforms/HardwareLoops/unconditional-latch.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D63809.206609.patch
Type: text/x-patch
Size: 14103 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190626/f0aad1d5/attachment.bin>


More information about the llvm-commits mailing list