This is an archive of the discontinued LLVM Phabricator instance.

LoopUnroll: Allow analyzing intrinsic call costs
ClosedPublic

Authored by arsenm on Jun 21 2018, 5:34 AM.

Details

Summary

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.

Diff Detail

Event Timeline

arsenm created this revision.Jun 21 2018, 5:34 AM
This revision is now accepted and ready to land.Jun 26 2018, 10:30 AM
arsenm closed this revision.Jun 26 2018, 11:56 AM

r335645