This is an archive of the discontinued LLVM Phabricator instance.

Some small performance enhancments to InstCombineLoadStoreAlloca.cpp
Needs ReviewPublic

Authored by DaleEMartin on Apr 9 2022, 6:27 AM.

Details

Reviewers
majnemer
Summary

I noticed a couple of small opportunities to bail earlier if we're going to bail.

Diff Detail

Event Timeline

DaleEMartin created this revision.Apr 9 2022, 6:27 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 9 2022, 6:27 AM
DaleEMartin requested review of this revision.Apr 9 2022, 6:27 AM

My first attempt at using GitHub or Phabricator like this. Apologies for the noise - the changes in InstCombineLoadStoreAlloca.cpp are what I'd like feedback on.

I'll study this some more with the realization that it's causing unit test failures. Sorry for the noise.