This is an archive of the discontinued LLVM Phabricator instance.

[InstCombine][NFC] Refactor llvm.stackrestore handling
ClosedPublic

Authored by nextsilicon-itay-bookstein on Nov 8 2021, 11:33 PM.

Details

Summary

Hoist the instruction classification logic outside the loop
in preparation for reuse in a future commit.

Signed-off-by: Itay Bookstein <itay.bookstein@nextsilicon.com>

Diff Detail

Event Timeline

nextsilicon-itay-bookstein requested review of this revision.Nov 8 2021, 11:33 PM
Herald added a project: Restricted Project. · View Herald TranscriptNov 8 2021, 11:33 PM
This revision is now accepted and ready to land.Nov 9 2021, 12:40 AM

Thanks; Could you commit this on my behalf?

Thanks; Could you commit this on my behalf?

Time to ask for commit rights?

llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
1823–1824