[PATCH] D63809: [HardwareLoops] Loop counter guard Loop intrinsic
Sam Parker via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 27 03:57:22 PDT 2019
samparker updated this revision to Diff 206815.
samparker added a comment.
Added a check that we're replacing the conditional with an equivalent statement... The intrinsic tests for a non-zero value for the trip count, so we now ensure that the loop entry is guarded by icmp ne %trip.count, 0. This has meant the code has been moved around a bit from the previous patch.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D63809/new/
https://reviews.llvm.org/D63809
Files:
include/llvm/Analysis/TargetTransformInfo.h
include/llvm/IR/Intrinsics.td
lib/CodeGen/HardwareLoops.cpp
test/Transforms/HardwareLoops/loop-guards.ll
test/Transforms/HardwareLoops/scalar-while.ll
test/Transforms/HardwareLoops/unconditional-latch.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D63809.206815.patch
Type: text/x-patch
Size: 31856 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190627/eeea6576/attachment.bin>
More information about the llvm-commits
mailing list