This is an archive of the discontinued LLVM Phabricator instance.

LoopUnroll: Pass through AssumptionCache
ClosedPublic

Authored by arsenm on Sep 19 2022, 4:34 PM.

Details

Diff Detail

Event Timeline

arsenm created this revision.Sep 19 2022, 4:34 PM
Herald added a project: Restricted Project. · View Herald TranscriptSep 19 2022, 4:34 PM
arsenm requested review of this revision.Sep 19 2022, 4:34 PM
Herald added a project: Restricted Project. · View Herald TranscriptSep 19 2022, 4:34 PM
Herald added a subscriber: wdng. · View Herald Transcript
fhahn added a comment.Sep 26 2022, 6:01 AM

Is there a test case to show the impact of this?

Is there a test case to show the impact of this?

It’s NFC

fhahn added a comment.Sep 26 2022, 6:06 AM

Is there a test case to show the impact of this?

It’s NFC

Oh right, could you elaborate what the benefit of it is? It's not clear to me from the title/description.

Is there a test case to show the impact of this?

It’s NFC

Oh right, could you elaborate what the benefit of it is? It's not clear to me from the title/description.

I found these queries are over 2x slower if a context instruction is passed without a cache, so it’s a compile time improvement

fhahn accepted this revision.Sep 26 2022, 6:21 AM

I found these queries are over 2x slower if a context instruction is passed without a cache, so it’s a compile time improvement

Makes sense, thanks! LGTM!

Could you include (NFC) in the commit title and add the motivation in the patch description?

This revision is now accepted and ready to land.Sep 26 2022, 6:21 AM