[PATCH] D48424: LoopUnroll: Allow analyzing intrinsic call costs
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 21 05:34:54 PDT 2018
arsenm created this revision.
arsenm added reviewers: mzolotukhin, hfinkel.
Herald added subscribers: dmgreen, zzheng, tpr, nhaehnle, wdng.
I'm not sure why the code here is skipping calls since
TTI does try to do something for general calls, but it
at least should allow intrinsics.
Skip intrinsics that should not be omitted as calls, which
is by far the most common case on AMDGPU.
https://reviews.llvm.org/D48424
Files:
lib/Transforms/Scalar/LoopUnrollPass.cpp
test/Transforms/LoopUnroll/AMDGPU/unroll-cost-call.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48424.152261.patch
Type: text/x-patch
Size: 4364 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180621/031b3b70/attachment.bin>
More information about the llvm-commits
mailing list