HomePhabricator

[MemorySSA] Update last_access_in_block check.

Authored by asbirlea on Oct 1 2019, 11:34 AM.

Description

[MemorySSA] Update last_access_in_block check.

The check for "was there an access in this block" should be: is the last
access in this block and is it not a newly inserted phi.
Resolves new test in PR43438.

Also fix a typo when simplifying trivial Phis to match the comment.

llvm-svn: 373380

Details

Committed
asbirleaOct 1 2019, 11:34 AM
Parents
rG2cee0e2d97c4: [NFC][libc++abi] Remove trailing whitespace from sources
Branches
Unknown
Tags
Unknown