[PATCH] D62907: [ARM] Implement TTI::isHardwareLoopProfitable
Sam Parker via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 12 03:58:47 PDT 2019
samparker updated this revision to Diff 204252.
samparker added a comment.
- Now checking for loop invariant trip count.
- Added tests for double and half precision floats.
- Now checking the new hasLOB target feature.
I didn't use TLI in isLoweredToCall because it requires an Instruction and it doesn't seem to give any meaningful results when an intrinsic call is passed either. Instead, I'm just checking the precision against the subtarget supported features.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D62907/new/
https://reviews.llvm.org/D62907
Files:
lib/Target/ARM/ARMTargetTransformInfo.cpp
lib/Target/ARM/ARMTargetTransformInfo.h
test/Transforms/HardwareLoops/ARM/calls.ll
test/Transforms/HardwareLoops/ARM/counter.ll
test/Transforms/HardwareLoops/ARM/do-rem.ll
test/Transforms/HardwareLoops/ARM/fp-emulation.ll
test/Transforms/HardwareLoops/ARM/simple-do.ll
test/Transforms/HardwareLoops/ARM/structure.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D62907.204252.patch
Type: text/x-patch
Size: 51585 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190612/fee72f7a/attachment-0001.bin>
More information about the llvm-commits
mailing list