This is an archive of the discontinued LLVM Phabricator instance.

Set cost of invariant group intrinsics to 0
ClosedPublic

Authored by Prazek on Sep 7 2018, 1:55 PM.

Details

Summary

Like with other similar intrinsics, presense of strip or
launder.invariant.group should not change the result of inlining cost.
This is because they are just markers and do not perform any computation.

Diff Detail

Repository
rL LLVM

Event Timeline

Prazek created this revision.Sep 7 2018, 1:55 PM
rsmith accepted this revision.Sep 7 2018, 3:22 PM
This revision is now accepted and ready to land.Sep 7 2018, 3:22 PM
This revision was automatically updated to reflect the committed changes.