mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-23 20:15:35 +00:00
Fix a nasty bug that caused areAliases to always return false.
Bug fix courtesy of Anshu Dasgupta llvm-svn: 14011
This commit is contained in:
parent
fffcf9c9fb
commit
11d0f8d30e
@ -196,7 +196,7 @@ public:
|
||||
/// false otherwise
|
||||
bool areAliases(unsigned regA, unsigned regB) const {
|
||||
for (const unsigned *Alias = getAliasSet(regA); *Alias; ++Alias)
|
||||
if (*Alias == regA) return true;
|
||||
if (*Alias == regB) return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user