HomePhabricator

[DSE,MemorySSA] Check for underlying objects first.

Authored by fhahn on Aug 14 2020, 7:25 AM.

Description

[DSE,MemorySSA] Check for underlying objects first.

isWriteAtEndOfFunction needs to check all memory uses of Def, which is
much more expensive than getting the underlying objects in practice.
Switch the call order, as recommended by the TODO, which was added as
per an earlier review.

This shaves off a bit of compile-time.

Details

Committed
fhahnAug 17 2020, 10:52 AM
Parents
rGa275acc4a9c8: GlobalISel: Early continue to reduce loop indentation
Branches
Unknown
Tags
Unknown