HomePhabricator

[RDA] Don't visit the BB of the instruction in getReachingUniqueMIDef

Authored by samtebbs on Aug 26 2020, 3:11 AM.

Description

[RDA] Don't visit the BB of the instruction in getReachingUniqueMIDef

If the basic block of the instruction passed to getUniqueReachingMIDef
is a transitive predecessor of itself and has a definition of the
register, the function will return that definition even if it is after
the instruction given to the function. This patch stops the function
from scanning the instruction's basic block to prevent this.

Differential Revision: https://reviews.llvm.org/D86607

Details

Committed
samtebbsAug 26 2020, 4:40 AM
Differential Revision
D86607: [RDA] Don't visit the BB of the instruction in getUniqueReachingMIDef
Parents
rGfc13d3d50e60: [gn build] Port 357dc1ed125
Branches
Unknown
Tags
Unknown